PromotionResponse
activebooleanrequired
allowsOverlapbooleanrequired
appliesToAllStoresbooleanrequired
bundleComponents object[]required
Array [
namestringrequired
productIdstring<uuid>required
quantityinteger<int32>required
regularUnitPricenumberrequired
]
buyQuantityinteger<int32>required
categoryIdsstring<uuid>[]required
codesstring[]required
createdAtstring<date-time>
currencystring
currentVersionIdstring<uuid>
descriptionstring
discountValuenumber
endDatestring<date-time>
getQuantityinteger<int32>required
lifecycleStatusstringrequired
maxUsesPerTransactioninteger<int32>
namestring
orgIdstring<uuid>
productIdsstring<uuid>[]required
promotionIdstring<uuid>
promotionTypestring
rewardProductIdsstring<uuid>[]required
startDatestring<date-time>
storeIdsstring<uuid>[]required
updatedAtstring<date-time>
versionNumberinteger<int32>
PromotionResponse
{
"active": true,
"allowsOverlap": true,
"appliesToAllStores": true,
"bundleComponents": [
{
"name": "string",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 0,
"regularUnitPrice": 0
}
],
"buyQuantity": 0,
"categoryIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"codes": [
"string"
],
"createdAt": "2024-07-29T15:51:28.071Z",
"currency": "string",
"currentVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"discountValue": 0,
"endDate": "2024-07-29T15:51:28.071Z",
"getQuantity": 0,
"lifecycleStatus": "string",
"maxUsesPerTransaction": 0,
"name": "string",
"orgId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"promotionId": "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"
],
"updatedAt": "2024-07-29T15:51:28.071Z",
"versionNumber": 0
}