question

lust-n-lust avatar image
0 Likes"
lust-n-lust asked

Create Inventory Item returns 204 on fail

Please refer to [ https://github.com/saturn72/ebay_rest_api/issues/1][1] for more details about this issue. In sandbox calling create inventory item returns fails, even when item not created. Example request body (uses Capital first letters instead lower ones): { "Availability": { "ShipToLocationAvailability": { "Quantity": 50 } }, "Condition": "NEW", "Product": { "Title": "GoPro Hero4 Helmet Cam", "Description": "New GoPro Hero4 Helmet Cam. Unopened box.", "ImageUrls": [ " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1000.jpg", " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1001.jpg", " http://i.ebayimg.com/images/i/182196556219-0-1/s-l1002.jpg" ] } } [1]: https://github.com/saturn72/ebay_rest_api/issues/1
new 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.

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi lust-n-lust, Can you make [getInventoryItems][1] call as below https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item?limit=100&offset=0 and check if your newly created Inventory item is getting returned ? [1]: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/getInventoryItems Best Regards,
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.

lester_developerprogram avatar image
0 Likes"
lester_developerprogram answered
Accepting DTS answer due to no response from poster.
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.