Types > Coupon
Commerce APITypesCoupon
Coupon

Description

Topic: Coupons

Fields

code: String!

A discount code that can be entered by a customer on checkout

Example: "PR100-ASJD-QW15"


created_at: String!

The date and time when the coupon was created

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


id: String!

Unique coupon identifier. See also: Unique Identifiers

Example: "cn_EQzGqWoY"


times_used: Int!

A number of times this coupon was used

Example: 0


Used By

Mutations

couponsCreate

Queries

coupons

Types

CouponPage, Order

Preview (typescript)

Loading module