UpdateLineItemDTO
The attributes to update in a line item.
id
stringRequiredThe ID of the line item.
subtitle
stringThe subtitle of the line item.
thumbnail
stringThe thumbnail of the line item.
cart_id
stringThe associated cart's ID.
product_id
stringThe associated product's ID.
product_title
stringThe title of the associated product.
product_description
stringThe description of the associated product.
product_subtitle
stringThe subtitle of the associated product.
product_type
stringThe type of the associated product.
product_collection
stringThe collection of the associated product.
product_handle
stringThe handle of the associated product.
variant_id
stringThe associated variant's ID.
variant_sku
stringThe SKU of the associated variant.
variant_barcode
stringThe barcode of the associated variant.
variant_title
stringThe title of the associated variant.
variant_option_values
Record<string, unknown>The option values of the associated variant.
requires_shipping
booleanWhether the line item requires shipping.
is_discountable
booleanWhether the line item is discountable.
is_tax_inclusive
booleanWhether the line item's amount is tax inclusive.
compare_at_unit_price
BigNumberInputThe calculated price of the line item after applying promotions.
title
stringThe title of the line item.
quantity
BigNumberInputThe quantity of the line item in the cart.
unit_price
BigNumberInputThe unit price of the line item.
metadata
null | Record<string, unknown>Holds custom data in key-value pairs.
tax_lines
CreateTaxLineDTO[] | UpdateTaxLineDTO[]The tax lines of the line item.
adjustments
CreateAdjustmentDTO[] | UpdateAdjustmentDTO[]The adjustments of the line item.
Was this section helpful?