question

daniewojcia_0 avatar image
0 Likes"
daniewojcia_0 asked

Is lineItemId unique for every line item in an order?

I'm working on processing data from getOrder(s) calls, and I'm working with the sample return values from the GetOrders documentation page https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrders#h2-samples


Many of the fields are censored such that only the first and last digits of censored fields are visible. In the second sample output, under the header "Sample 2: Search for Your Orders and Return Tax and Fee Breakdown" there are line items within the same order whose lineItemId values are identical possibly due to the fact that only the first and last digits are visible ("5********1"). Is it possible that there are duplicate lineItemId's or can I assume that the ID's were distinct before they were censored?

lineitemid
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
sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered

Hi @daniewojcia_0,


lineItemId :- This is the unique identifier of an eBay order line item. This field is created as soon as there is a commitment to buy from the seller.


For more information :- https://developer.ebay.com/api-docs/sell/fulfillment/types/sel:LineItem
https://developer.ebay.com/api-docs/sell/finances/resources/transaction/methods/getTransactions#response.transactions.orderLineItems.lineItemId


Best Regards,
eBay Developer Support

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.