question

smalljoyfulthings avatar image
0 Likes"
smalljoyfulthings asked ·

What's the correct REST API call to make in order to create a draft item in my seller account?

Hello! I can't quite figure this out from looking at all the docs. I'm using the REST API, I have generated my Oauth tokens, and all I need to know is which API call to make in order to add a new item for sale in my seller account. Preferably as a draft, but that's not essential.

If someone could point me in the right direction, that would be great! Thanks!

create inventory itemcreate item
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.

adonialtd avatar image
1 Like"
adonialtd answered ·

@smalljoyfulthings

You have to use "Inventory API"
https://developer.ebay.com/api-docs/sell/inventory/static/overview.html

1/ Create a new inventory
Use "createOrReplaceInventoryItem" to create a new inventory_item
https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem

2/ Create a new offer
Use "createOffer" to create a new offer
https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer
"createOffer" will generate a new "OfferId"

3/ Publish your offer
https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/publishOffer
Use the new created "OfferId" in your "Request Call"


·
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.

smalljoyfulthings avatar image
0 Likes"
smalljoyfulthings answered ·

Thanks very much, I'll go look all that up!

·
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.