CartDiscountCode
ObjectFields returned for cart discount code.
#
Fields
- [CartDiscountCodeValue!]!
codes A list of discount codes associated with the cart discount.
- ID!
id the ID of the cart discount code.
- Int
maxApplications The maximum amount of applications that can be discount.
- Int
maxApplicationsPerCustomer The maximum number of applications allowed per customer for the cart discount code.
- String!
name The name of the cart discount code.
- DateTime
validFrom The date and time when the cart discount code becomes valid.
- DateTime
validUntil The date and time when the cart discount code expires.
#
Queries
Gets a cart discount codes aggregate by its ID.
Returns a paginated list of cart discount codes.
#
Mutations
Creates a new cart discount code container with one or more codes.
Deletes a cart discount code container (this could mean one or more codes).
Updates fields for an existing cart discount code container.