How i can add Primary category id while craeting a item using https://api.ebay.com/sell/inventory/v
"message": "A user error has occurred. Your application encountered an error. This request is missing required input tag \"<Item.PrimaryCategory.CategoryID>\".",
I am getting this when i am trying to publish a product with offer
I am getting this when i am trying to publish a product with offer
3 comments
shipscript
·2 years ago@yaada_21
The category must be added at the CreateOffer stage, prior to publishing the offer:
https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer
While it is possible to create and save a partially completed offer as a draft, you must finish it before you move to publishing the offer.
"This call creates an offer for a specific inventory item on a specific eBay marketplace. It is up to the sellers whether they want to create a complete offer (with all necessary details) right from the start, or sellers can provide only some information with the initial createOffer call, and then make one or more subsequent updateOffer calls to complete the offer and prepare to publish the offer. Upon first creating an offer, the following fields are required in the request payload: sku, marketplaceId, and (listing) format. "
river_house_books
·2 years agocreateOffer and updateOffer are both deprecated as of 07/19/2024.
What replaces them?
developer_support@ebay
Hi @river_house_books
Inventory API calls like bulkCreateOffer, createOffer, getOffer, getOffers and updateOffer or Trading API calls like Add/Revise/Relist/Verify and GetItem family calls are not being deprecated.
As mentioned in the API Deprecation Status page:
Only the economicOperator/EconomicOperator container in the Inventory API/ Trading API calls have been deprecated on 2024/07/19 and only the economicOperator/EconomicOperator container will be decommissioned on January 30, 2025.