cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AddItems 5 items in single API call

We have successfully been using addItem for single items. However as business grows, we want to list 5 items with a single AddItems API call (which is possible). This is working 99% correctly, however, when eBay ACK is returned "Failure", I cant see how i know which items out of the 5 were listed correctly (some are, even when the API returns "Failure"). This causes big issues, when i then retry the 5 items and this can cause duplicate items or errors that are due to item already being listed. Maybe I am missing something in the documentation, as I would have thought the API returned individual statuses for each of the 5 items ?

Message 1 of 2
latest reply
1 REPLY 1

AddItems 5 items in single API call


@marshalls-music wrote:

We have successfully been using addItem for single items. However as business grows, we want to list 5 items with a single AddItems API call (which is possible). This is working 99% correctly, however, when eBay ACK is returned "Failure", I cant see how i know which items out of the 5 were listed correctly (some are, even when the API returns "Failure"). This causes big issues, when i then retry the 5 items and this can cause duplicate items or errors that are due to item already being listed. Maybe I am missing something in the documentation, as I would have thought the API returned individual statuses for each of the 5 items ?


Hello,

When using the eBay AddItems API for multiple items, it's important to note that the response includes individual statuses for each item. If the overall response ACK is "Failure," you should still parse the response to check each item's status separately. This helps identify which items were successfully listed and which ones failed, preventing duplicates and ensuring accurate retries.

 

Best regards,
Roxanne

Message 2 of 2
latest reply