- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
UpdateLineItemDTO
The attributes to update in a line item.
id
stringThe ID of the line item.
subtitle
stringOptionalThe subtitle of the line item.
thumbnail
stringOptionalThe thumbnail of the line item.
cart_id
stringOptionalThe associated cart's ID.
product_id
stringOptionalThe associated product's ID.
product_title
stringOptionalThe title of the associated product.
product_description
stringOptionalThe description of the associated product.
product_subtitle
stringOptionalThe subtitle of the associated product.
product_type
stringOptionalThe type of the associated product.
product_type_id
stringOptionalThe ID of type of the associated product.
product_collection
stringOptionalThe collection of the associated product.
product_handle
stringOptionalThe handle of the associated product.
variant_id
stringOptionalThe associated variant's ID.
variant_sku
stringOptionalThe SKU of the associated variant.
variant_barcode
stringOptionalThe barcode of the associated variant.
variant_title
stringOptionalThe title of the associated variant.
variant_option_values
Record<string, unknown>OptionalThe option values of the associated variant.
requires_shipping
booleanOptionalWhether the line item requires shipping.
is_discountable
booleanOptionalWhether the line item is discountable.
is_tax_inclusive
booleanOptionalWhether the line item's amount is tax inclusive.
is_custom_price
booleanOptionalWhether the line item's amount is a custom price.
The calculated price of the line item after applying promotions.
title
stringOptionalThe title of the line item.
The quantity of the line item in the cart.
The unit price of the line item.
metadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
The tax lines of the line item.
The adjustments of the line item.
Was this page helpful?