Anchor to CartDiscountCodeCart
objectCart Discount Code
A discount code applied to a
Cart. Discount
codes are case-insensitive and can be added using the mutation.
The applicable field indicates whether the code applies to the cart's current contents, which
might change as items are added or removed.
Anchor to FieldsFields
- applicable (Boolean!)
- code (String!)
- Anchor to applicableapplicable•Boolean!non-null
Whether the discount code is applicable to the cart's current contents.
- Anchor to codecode•String!non-null
The code for the discount.
Was this section helpful?