question

mufiq_0 avatar image
0 Likes"
mufiq_0 asked

Not able to add product in Sandbox Account

I am not able to add products in sandbox, When I click create template button by going selling link it shows attached error.


ebay sandboxproductproductapi
1629804078475.png (78.9 KiB)
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
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @mufiq_0,

Please use the Trading API or Inventory API to list the item on sandbox. If you wan to use Trading API, you can use the following calls for listing the item:
Ref: https://developer.ebay.com/devzone/xml/docs/Reference/eBay/StandardListingIndex.html

For listing an item by Inventory API you have to follow given steps :

1. Use CreateOrReplaceInventoryItem call to create a record of an item for a SKU. Please go through the link given below to know more about call.
Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem

2. After that Create an offer for the same SKU by CreateOffer Call. This will give you Offer ID in response body. Please go through the link given below to know more about call.
Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer

3. After getting offerID, publish the offer by PublishOffer Call. Please go through the link given below to know more about call.
Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/publishOffer

Please refer to the guide mentioned in below, to know more about working with the Inventory API.

Ref: https://developer.ebay.com/api-docs/sell/static/inventory/inventory-item-to-offer.html

Use the URL http://sandbox.ebay.com/itm/ENTER_ITEM_ID_HERE , to see the item view page on sandbox UI.

Best regards,
eBay Developer Support

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.