Shopify order creation webhook

adamscot92
New Member
6 0 0

Hello,

I am looking at the JSON response of the order_creation webhook. In'line_items', can anyone confirm if the 'sku' key refers to the product SKU or the product variant SKU?

Thank you

Replies 2 (2)
Jayvin
Shopify Partner
270 40 74

Hi,

Product has variants and variants have skus. Hence in the array of line_items of an order, the sku is the key of the product variant.

adamscot92
New Member
6 0 0

This is great news - thank you for confirming!