question

stsk4647 avatar image
0 Likes"
stsk4647 asked

createItemPromotion problem

When creating promotiontype is ORDER_DISCOUNT .The promotion and inventorycriteriontype of discount are INVENTORY_BY_RULE or INVENTORY_ANY If this problem persists, contact the eBay developers program for support,This is my request parameter:

{

"marketplaceId":"EBAY_DE",

"inventoryCriterion":{

"ruleCriteria":{


},

"inventoryCriterionType":"INVENTORY_ANY"

},

"promotionType":"ORDER_DISCOUNT",

"endDate":"2021-09-05T22:00:00.000Z",

"discountRules":[

{

"discountSpecification":{

"minAmount":{

"currency":"EUR",

"value":90

}

},

"ruleOrder":-1,

"discountBenefit":{

"amountOffOrder":{

"currency":"EUR",

"value":9

}

}

}

],

"name":"订单折扣 20210902170839000",

"description":"折扣3",

"priority":"PRIORITY_1",

"startDate":"2021-09-04T22:00:00.000Z",

"promotionStatus":"SCHEDULED"

}

But when I created the promotionType as VOLUME_DISCOUNT , This is my request parameter:

{

"marketplaceId":"EBAY_DE",

"inventoryCriterion":{

"ruleCriteria":{


},

"inventoryCriterionType":"INVENTORY_ANY"

},

"applyDiscountToSingleItemOnly":false,

"promotionType":"VOLUME_DISCOUNT",

"endDate":"2021-09-03T22:00:00.000Z",

"discountRules":[

{

"discountSpecification":{

"minQuantity":1

},

"ruleOrder":1,

"discountBenefit":{

"percentageOffOrder":0

}

},

{

"discountSpecification":{

"minQuantity":2

},

"ruleOrder":2,

"discountBenefit":{

"percentageOffOrder":6

}

},

{

"discountSpecification":{

"minQuantity":3

},

"ruleOrder":3,

"discountBenefit":{

"percentageOffOrder":7

}

},

{

"discountSpecification":{

"minQuantity":4

},

"ruleOrder":4,

"discountBenefit":{

"percentageOffOrder":8

}

}

],

"name":"批量定价 20210902170434000",

"description":"批量4",

"priority":"PRIORITY_1",

"startDate":"2021-09-02T22:00:00.000Z",

"promotionStatus":"SCHEDULED"

}

This was created successfully

createpromotionmarking
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.