Docs
Dashboard

CartDiscountCodeAddInput

Input

This is the input type for adding a discount code to a cart.

#

Fields


cartId
ID!

The unique identifier of the cart to which the discount code will be added.

discountCode
String!

The discount code to be applied to the cart. This code is typically provided by the store or promotion.