input_object

UpdateProductCartInput

Update cart product details including article id, custom JSON, extra meta, identifiers, item id/size/index, meta, parent identifiers, quantity, and pickup options.
Fields
_custom_json
JSON
Custom JSON at line-item level. Example: { gift_wrap: true }
article_id
String
Article ID of the item. Example: '5fdc737e3c05146138192f79'
extra_meta
JSON
Extra metadata. Example: { color: 'Red' }
Required
Cart-generated item identifier.
item_id
Int
Product item ID. Example: 987654
item_index
Int
Index of the item line to update. Example: 0
item_size
String
Size of the product. Example: 'M'
meta
JSON
Line-item metadata. Example: { source: 'cart-page' }
parent_item_identifiers
JSON
Parent item identifiers. Example: { parent_item_id: 111 }
quantity
Int
Quantity to set. Example: 3
fulfillment_option_slug
String
Fulfillment method slug. Example: 'home-delivery' or 'store-pickup'
pickup_store_id
Int
Pickup store ID. Example: 2001
force_new_line_item
Boolean
If true, forces a separate line item. Example: true