question

mehmeay_38 avatar image
0 Likes"
mehmeay_38 asked

Create ad with personal accounts

Hello fellow developers, We are developing n mobile phone app which also helps user to sell their (old) phone. Current goal: we are trying to create ads on ebay for the user (with his/her own Ebay account). We tried Listing API's createItemDraft which returns OK(201) with the body including links but we can't see anything on website. We also tried Inventory API's createOffer which returns code 400 because of the SKU parameter (with sample call). Anyone has an idea how we can get this up and running for our use case? Thanks
create offer
10 |600

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

1 Answer

·
sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered
Hi @mehmeay_38, 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 an SKU. Please go through the link given below to know more about the call. REF: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem 2. After that use Create an offer for the same SKU by CreateOffer Call. This will give you an Offer ID in the response body. 3. After getting offerID, publish the offer by PublishOffer Call. Best Regards, eBay Developer Program
10 |600

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.