Schema Documentation

LineItemInput

Description

Meta data.

Fields
Input FieldDescription
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":"abc123","productId":987,"quantity":987,"sku":"abc123","subtotal":"xyz789","taxClass":"INHERIT_CART","total":"xyz789","variationId":987}