How get "Lineitem compare at price" via Admin REST API ?

Camil
New Member
15 0 0

Hello,

When I'm doing CSV export located at: /admin/orders?selectedView=all   I have column called "Lineitem compare at price" 

it's described here (https://help.shopify.com/en/manual/orders/export-orders) as 

The compare at price of the line item.

 

How to get this value from Admin REST API?

 

Regards

0 Likes
vix
Shopify Staff
Shopify Staff
534 105 103

You would use the compare_at_price from the REST API (variant): https://shopify.dev/docs/admin-api/rest/reference/products/product-variant?api[version]=2020-04

Vix | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes