- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
CreateOrderLineItemDTO
The data of the line item to create.
title
stringThe title of the line item.
quantity
BigNumberInputThe quantity of the line item.
quantity
BigNumberInputunit_price
BigNumberInputThe unit price of the line item.
unit_price
BigNumberInputsubtitle
stringOptionalThe subtitle of the line item.
thumbnail
stringOptionalThe thumbnail of the line item.
order_id
stringOptionalThe associated order's ID.
product_id
stringOptionalThe associated product's ID.
product_title
stringOptionalThe product title of the line item.
product_description
stringOptionalThe product description of the line item.
product_subtitle
stringOptionalThe product subtitle of the line item.
product_type
stringOptionalThe product type of the line item.
product_collection
stringOptionalThe product collection of the line item.
product_handle
stringOptionalThe product handle of the line item.
variant_id
stringOptionalThe associated variant's ID.
variant_sku
stringOptionalThe variant sku of the line item.
variant_barcode
stringOptionalThe variant barcode of the line item.
variant_title
stringOptionalThe variant title of the line item.
variant_option_values
Record<string, unknown>OptionalThe variant option values of the line item.
requires_shipping
booleanOptionalWhether the line item requires shipping.
is_discountable
booleanOptionalWhether the line item is discountable.
is_tax_inclusive
booleanOptionalWhether the line item is tax inclusive.
The compare-at unit price of the line item.
The tax lines of the line item.
The adjustments of the line item.
metadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
Was this page helpful?