question

synetix_94 avatar image
0 Likes"
synetix_94 asked ·

can you please tell, which specific API to use to list the items in the seller hub listing? please share some do's and don'ts

I want to sell Items and want to list the items in the listing of the seller hub. currently I'm using inventory API createInventoryLocation, bulkCreateOrReplaceInventoryItem, bulkcreateOffers and bulkPublishOffers but while publishing offers I'm getting these error response below . Thank you


{

"responses": [

{

"statusCode": 400,

"offerId": "111889448016",

"warnings": [],

"errors": [

{

"errorId": 25002,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "A user error has occurred. Location information not found. Please try again or contact customer support."

}

]

},

{

"statusCode": 400,

"offerId": "111889449016",

"warnings": [],

"errors": [

{

"errorId": 25002,

"domain": "API_INVENTORY",

"subdomain": "Selling",

"category": "REQUEST",

"message": "A user error has occurred. Location information not found. Please try again or contact customer support."

}

]

}

]}

inventory api
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
vertika_developersupport avatar image
0 Likes"
vertika_developersupport answered ·

Hi @synetix_94,


Can you make GetOffer call and check [merchantLocationKey] tag? If it's not returned, please call Update Offer API and add merchantLocationKey in your request. Please be aware that **merchantLocationKey** is required for publishing the offer.

You can use createInventoryLocation call to create a new inventory location. In order to create and publish an offer (and create an eBay listing), a seller must have at least one inventory location, as every offer must be associated with a location.

Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/location/methods/createInventoryLocation


Best Regards,

eBay Developer Support

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