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
JSONCustom JSON at line-item level. Example: { gift_wrap: true }
article_id
StringArticle ID of the item. Example: '5fdc737e3c05146138192f79'
extra_meta
JSONExtra metadata. Example: { color: 'Red' }
identifiers
CartProductIdentiferInput!Required
Cart-generated item identifier.
item_id
IntProduct item ID. Example: 987654
item_index
IntIndex of the item line to update. Example: 0
item_size
StringSize of the product. Example: 'M'
meta
JSONLine-item metadata. Example: { source: 'cart-page' }
parent_item_identifiers
JSONParent item identifiers. Example: { parent_item_id: 111 }
quantity
IntQuantity to set. Example: 3
fulfillment_option_slug
StringFulfillment method slug. Example: 'home-delivery' or 'store-pickup'
pickup_store_id
IntPickup store ID. Example: 2001
force_new_line_item
BooleanIf true, forces a separate line item. Example: true
Was this section helpful?