Schema Documentation
LineItemInput
Description
Meta data.
Fields
Input Field | Description |
---|---|
id - ID | Line Item ID |
metaData - [MetaDataInput] | Meta data. |
name - String | Line name |
productId - Int | Product ID. |
quantity - Int | Quantity ordered. |
sku - String | Product SKU. |
subtotal - String | Line subtotal (before discounts). |
taxClass - TaxClassEnum | Tax class of product. |
total - String | Line total (after discounts). |
variationId - Int | Variation ID, if applicable. |
Example
{"id":"4","metaData":[MetaDataInput],"name":"xyz789","productId":987,"quantity":987,"sku":"xyz789","subtotal":"abc123","taxClass":"INHERIT_CART","total":"xyz789","variationId":987}