Skip to main content
object

A discount code applied to a Cart. Discount codes are case-insensitive and can be added using the cartDiscountCodesUpdate mutation.

The applicable field indicates whether the code applies to the cart's current contents, which might change as items are added or removed.

•Boolean!
non-null

Whether the discount code is applicable to the cart's current contents.

•String!
non-null

The code for the discount.


Was this section helpful?