path idID!requiredkey and value field, both limited to 500 characters.path SetCartAttributesResult.userErrors[CartError!]!12345678910111213{ "id": "{{cartId}}", "attributes": [ { "key": "gift_message", "value": "Happy Birthday!" }, { "key": "referral_source", "value": "instagram" } ] }
12345678mutation ($id: ID!, $attributes: [AttributeInput!]!) { setCartAttributes(id: $id, attributes: $attributes) { userErrors { code message } } }
1234567{ "data": { "setCartAttributes": { "userErrors": [] } } }