Mircate
  1. Promotion
Mircate
  • Introduction
  • Authentication
  • Errors
  • Change Logs
  • PIM
    • Get Products
      POST
    • Get Product Settings
      GET
    • Get Catalog Settings
      GET
    • Upsert Product
      POST
    • Upsert Category
      POST
    • Bulk Product Upsert
      POST
    • Check Batch Status
      POST
    • Delete Product
      POST
    • Attach Product Attribute Image
      POST
    • Attach Category Image
      POST
    • Get Image
      GET
    • Upsert Attributes
      POST
    • Delete Attribute
      POST
    • Upsert Attribute Options
      POST
    • Upsert Attribute Option
      POST
    • Delete Attribute Option
      POST
  • Promotion
    • Calculate
      POST
    • Start Transaction
      POST
    • Commit Transaction
      POST
    • Revert Transaction
      POST
    • Cancel Transaction
      POST
    • Set Status For Promotion List
      POST
    • Update Promotion Parameters
      POST
    • Get Active Promotions
      GET
  • Loyalty
    • Receive Event
    • Cancel Event
    • Get Entity Events
    • Upsert Segment
    • Add User To Segment
  • Wallet
    • Get Wallet
    • Create Wallet
    • Create Account
    • Get Account
    • Get Accounts
    • List Accounts
    • List Transactions
    • Add Account
    • Remove Account
    • Fix
    • Load
    • Spend
    • Refund
    • Cancel
    • Bulk Load
  • Merchant
    • Sales Channel
      • Reserve Stock
      • Cancel Stock
      • Commit Stock
      • Refund Stock
      • Get Current Stock
    • Product Supplier
      • Receive Stock
      • Receive Price
      • Get Stock/Price History
      • Check Batch Status
      • Remove My Products
      • Clean My Products
      • Export Stock/Price
      • List Exports
      • Get Exported Files
    • Global Products
      • Receive Products
      • Get Global Products
      • Remove Global Products
  • Common
    • Dataset
      • Create
      • Update
      • Delete
      • Value Upsert
      • Value Delete
      • List Sources
      • List Values
  • How to
    • Creating a Promotion Template
    • Promotion Transaction Flow
    • Understanding PIM Product Statuses
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Promotion

Update Promotion Parameters

Production
https://api.mircate.com/5p1hp1d2t
Production
https://api.mircate.com/5p1hp1d2t
POST
https://api.mircate.com/5p1hp1d2t
/CALL/Promotion/updatePromotionParameters/{MIRCATE_PROJECT_ID}
Last modified:2025-12-12 08:25:03
This method is used to update the parameters of an existing promotion. It allows modifying the promotion’s conditions, limits, assigned products, segments, or other configuration settings.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Path Params

Header Params

Body Params application/json

Example
{
    "id": "xYGqjSjyBfYaPVoa",
    "parameters": {
        "amountOff": 1200,
        "buyCount": 1,
        "customerSegment": "FAMILY",
        "orderAmount": 1000,
        "amount": 1,
        "loyaltyCard": false,
        "exclBuyCategories": []
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mircate.com/5p1hp1d2t/CALL/Promotion/updatePromotionParameters/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "xYGqjSjyBfYaPVoa",
    "parameters": {
        "amountOff": 1200,
        "buyCount": 1,
        "customerSegment": "FAMILY",
        "orderAmount": 1000,
        "amount": 1,
        "loyaltyCard": false,
        "exclBuyCategories": []
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "message": "Promotion parameters updated successfully",
    "promotion": {
        "title": "Mircate-Promotion",
        "active": true,
        "description": "",
        "tag": "",
        "finishDate": "2025-12-26T21:00:00.000Z",
        "startDate": "2025-12-15T21:00:00.000Z",
        "userMessage": "",
        "segments": [],
        "params": {
            "orderAmount": 1000,
            "customerSegment": "FAMILY",
            "amountOff": 1200,
            "arrayParam": [
                "iphone14"
            ],
            "birthday": "2024-12-15T21:00:00.000Z",
            "buyCount": 1,
            "amount": 1,
            "loyaltyCard": false,
            "exclBuyCategories": []
        },
        "promotionTemplateId": "np3K",
        "orderLevel": 1,
        "priority": 0,
        "maxUseCount": 0,
        "maxUseAmount": 0,
        "maxUseCountPerCustomer": 0,
        "maxUseAmountPerCustomer": 0,
        "checkCategory": false,
        "isForceApply": true,
        "isExclusive": false,
        "locales": {
            "tr_TR": {
                "title": "Mircate-Promotion",
                "userMessage": ""
            }
        },
        "exclusions": [],
        "promotionType": "normal",
        "imageUrl": "https://api.b2btest.retter.io/331d4nbu6/CALL/Image/get?image=7WIDI4TYHR22EU3USLRSPH90.png",
        "id": "CT7EWNKI",
        "updatedAt": "2025-12-10T14:56:01.082Z",
        "createdAt": "2025-12-10T13:42:06.325Z"
    }
}
đźź 400Bad Request
đźź 403Forbidden
đźź 404Record Not Found
Modified at 2025-12-12 08:25:03
Previous
Set Status For Promotion List
Next
Get Active Promotions
Built with