question

sirmorya3ank avatar image
sirmorya3ank asked sirmorya3ank commented

Getting lineItems SKU and Product Code in Orders API response

How do we get the SKU and product code of the lineItems in the response of the Orders API?

OrdersLineItems
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

stevenblakemore avatar image
stevenblakemore answered sirmorya3ank commented

Hi sirmorya3ank, try adding "&expand=lineItems.item" to your api call.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sirmorya3ank avatar image sirmorya3ank commented ·

That worked

0 Likes 0 ·

Welcome to the
Clover Developer Community