question

njsmith49423 avatar image
0 Likes"
njsmith49423 asked ·

createItemPriceMarkdown Issue

So, we're trying to use the new Marketing API to create sale promotions (specifically using the createItemPriceMarkdown) call, but we're running into an issue. Through the API, if we try and make the following call: API Address: POST https://api.ebay.com/sell/marketing/v1/item_price_markdown Payload: { "name": "Save 10", "description": "Save 10", "startDate": "2018-06-30T04:00:00.000Z", "endDate": "2018-06-30T23:59:59.000Z", "marketplaceId": "EBAY-US", "promotionStatus": "SCHEDULED", "selectedInventoryDiscounts": [ { "inventoryCriterion": { "inventoryCriterionType":"INVENTORY_BY_VALUE", "inventoryItems":[ { "inventoryReferenceId":"1263997STEAUR085", "inventoryReferenceType":"INVENTORY_ITEM" } ] }, "discountBenefit": { "percentageOffItem":"10" } } ] } We get the following error (which basically says nothing): { "errors": [ { "errorId": 38201, "domain": "API_MARKETING", "category": "APPLICATION", "message": "Internal server error encountered. If this problem persists, contact the eBay Developers Program for support." } ] } Changing the "SCHEDULED" to "DRAFT" works, but then the sale doesn't actually go live. Attempting to use the API to change the sale from DRAFT to SCHEDULED results in a similar error. Is anyone else using this API and how have you been able to get it working? We've already opened a ticket with eBay, but haven't heard anything back in at least a week after the initial asking for more information.
marketing api campaignscreateitempricemarkdownpromotion
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.

1 Answer

· Write an Answer
krich_developersupport avatar image
0 Likes"
krich_developersupport answered ·
@njsmith49423 , Sorry for the delay in responding. The issue is that the Item Price Markdown campaign must be longer than a day in duration. I will see that this is clarified in the docs. HTH,
· Share
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.

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.