Skip to main content

UpdatePromotionRequest

activebooleanrequired
allowsOverlapboolean
appliesToAllStoresbooleanrequired
bundleComponents object[]
  • Array [
  • productIdstring<uuid>
    quantityinteger<int32>required
  • ]
  • buyQuantityinteger<int32>required
    categoryIdsstring<uuid>[]
    codesstring[]
    currencystring
    descriptionstring
    discountValuenumber
    endDatestring<date-time>required
    getQuantityinteger<int32>required
    maxUsesPerTransactioninteger<int32>
    namestringrequired

    Possible values: non-empty

    productIdsstring<uuid>[]
    promotionTypestringrequired

    Possible values: non-empty

    rewardProductIdsstring<uuid>[]
    startDatestring<date-time>required
    storeIdsstring<uuid>[]
    UpdatePromotionRequest
    {
    "active": true,
    "allowsOverlap": true,
    "appliesToAllStores": true,
    "bundleComponents": [
    {
    "productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "quantity": 0
    }
    ],
    "buyQuantity": 0,
    "categoryIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "codes": [
    "string"
    ],
    "currency": "string",
    "description": "string",
    "discountValue": 0,
    "endDate": "2024-07-29T15:51:28.071Z",
    "getQuantity": 0,
    "maxUsesPerTransaction": 0,
    "name": "string",
    "productIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "promotionType": "string",
    "rewardProductIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "startDate": "2024-07-29T15:51:28.071Z",
    "storeIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ]
    }