Anchor to CartLineUpdateInputCart
input_objectCart Line Update Input
The input fields for updating a merchandise line in a cart. Used by the mutation.
Specify the line item's id along with any fields to modify. You can change the quantity, swap the merchandise, update custom attributes, or associate a different selling plan.
Anchor to FieldsFields
- attributes ([AttributeInput!])
- id (ID!)
- merchandiseId (ID)
- quantity (Int)
- sellingPlanId (ID)
- Anchor to attributesattributes•[Attribute
Input!] An array of key-value pairs that contains additional information about the merchandise line.
The input must not contain more than
250values.- •ID!non-null
The ID of the merchandise line.
- Anchor to merchandiseIdmerchandise•ID
Id The ID of the merchandise for the line item.
- Anchor to quantityquantity•Int
The quantity of the line item.
- Anchor to sellingPlanIdselling•ID
Plan Id The ID of the selling plan that the merchandise is being purchased with.
Was this section helpful?