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

Multiple items with getItem (not getItems)

Trying to get multiple items with the 'getItem' call. In the documentation is an example in the URI Parameters which suggests this is possible: v1|1**********2|4**********2 

 

Yet, when I try this, it only returns product details from the first item.

 

Example:

 

$starturl = "https://api.ebay.com/buy/browse/v1/item/v1%7C".$itemId2."%7C".$itemId."%7C".$itemId3."%7C".$itemId4;

 

Is this even possible? Unfortunately, the other call 'getItems' is a Limited Release available only to select Partners.

Message 1 of 5
latest reply
4 REPLIES 4

Re: Multiple items with getItem (not getItems)

I'm not sure what the pipe is delimiting, but I don't think it is multiple items. It is described as the "RESTful Item ID Format: v1|#|#". There are three explicit elements in that pipe-delimited string, which is the same for the restricted "getItems" call. Additionally, the "getItems" call requires a comma-delimited list of item numbers.

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 5
latest reply

Re: Multiple items with getItem (not getItems)

How can to be a select Partners for GetItemsCall?

Message 3 of 5
latest reply

Re: Multiple items with getItem (not getItems)

I think the documentation is wrong on getitem for multiple SKUs. 
I've tried it every which way: commas, pipes, spaces, and it doesn't work.

 

Documentation: 

For a single SKU listing, pass in the item ID:

v1|2**********2|0

For a multi-SKU listing, pass in the identifier of the variation:

v1|1**********2|4**********2

 

Message 4 of 5
latest reply

Re: Multiple items with getItem (not getItems)

There are not multiple SKUs but one SKU with variations like this:

https://www.ebay.com/itm/224585830180?var=523383617259

v1|224585830180|523383617259
Message 5 of 5
latest reply