addedInput schema / properties / request
Added value: +{
+ "additionalProperties": false,
+ "description": "Update item promotion request body",
+ "properties": {
+ "applyDiscountToSingleItemOnly": {
+ "type": "boolean"
+ },
+ "budget": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "couponConfiguration": {
+ "additionalProperties": false,
+ "properties": {
+ "couponCode": {
+ "type": "string"
+ },
+ "couponType": {
+ "type": "string"
+ },
+ "maxCouponRedemptionPerUser": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discountRules": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "discountBenefit": {
+ "additionalProperties": false,
+ "properties": {
+ "amountOffItem": {
+ "$ref": "#/properties/request/properties/budget"
+ },
+ "amountOffOrder": {
+ "$ref": "#/properties/request/properties/budget"
+ },
+ "percentageOffItem": {
+ "type": "string"
+ },
+ "percentageOffOrder": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "discountSpecification": {
+ "additionalProperties": false,
+ "properties": {
+ "forEachAmount": {
+ "$ref": "#/properties/request/properties/budget"
+ },
+ "forEachQuantity": {
+ "type": "number"
+ },
+ "minAmount": {
+ "$ref": "#/properties/request/properties/budget"
+ },
+ "minQuantity": {
+ "type": "number"
+ },
+ "numberOfDiscountedItems": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "ruleOrder": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "endDate": {
+ "type": "string"
+ },
+ "inventoryCriterion": {
+ "additionalProperties": false,
+ "properties": {
+ "inventoryCriterionType": {
+ "type": "string"
+ },
+ "inventoryItems": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "inventoryReferenceId": {
+ "type": "string"
+ },
+ "inventoryReferenceType": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "listingIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ruleCriteria": {
+ "additionalProperties": false,
+ "properties": {
+ "excludeInventoryItems": {
+ "items": {
+ "$ref": "#/properties/request/properties/inventoryCriterion/properties/inventoryItems/items"
+ },
+ "type": "array"
+ },
+ "excludeListingIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "markupInventoryItems": {
+ "items": {
+ "$ref": "#/properties/request/properties/inventoryCriterion/properties/inventoryItems/items"
+ },
+ "type": "array"
+ },
+ "markupListingIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "selectionRules": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "brands": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "categoryIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "categoryScope": {
+ "type": "string"
+ },
+ "listingConditionIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "maxPrice": {
+ "$ref": "#/properties/request/properties/budget"
+ },
+ "minPrice": {
+ "$ref": "#/properties/request/properties/budget"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "marketplaceId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "string"
+ },
+ "promotionImageUrl": {
+ "type": "string"
+ },
+ "promotionStatus": {
+ "type": "string"
+ },
+ "promotionType": {
+ "type": "string"
+ },
+ "startDate": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}