Skip to main content
Skip to main content

UpdateLineItemDTO

The attributes to update in a line item.

idstringRequired
The ID of the line item.
subtitlestring
The subtitle of the line item.
thumbnailstring
The thumbnail of the line item.
cart_idstring
The associated cart's ID.
product_idstring
The associated product's ID.
product_titlestring
The title of the associated product.
product_descriptionstring
The description of the associated product.
product_subtitlestring
The subtitle of the associated product.
product_typestring
The type of the associated product.
product_collectionstring
The collection of the associated product.
product_handlestring
The handle of the associated product.
variant_idstring
The associated variant's ID.
variant_skustring
The SKU of the associated variant.
variant_barcodestring
The barcode of the associated variant.
variant_titlestring
The title of the associated variant.
variant_option_valuesRecord<string, unknown>
The option values of the associated variant.
requires_shippingboolean
Whether the line item requires shipping.
is_discountableboolean
Whether the line item is discountable.
is_tax_inclusiveboolean
Whether the line item's amount is tax inclusive.
compare_at_unit_priceBigNumberInput
The calculated price of the line item after applying promotions.
titlestring
The title of the line item.
The quantity of the line item in the cart.
unit_priceBigNumberInput
The unit price of the line item.
metadatanull | Record<string, unknown>
Holds custom data in key-value pairs.
The tax lines of the line item.
The adjustments of the line item.
Was this section helpful?