Types > CouponCreate
Commerce APITypesCouponCreate
CouponCreate

Description

Topic: Coupons

Fields

code: String!

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

Example: "PR100-ASJD-QW15"

Valid when: code matches regexp pattern: ^[a-zA-Z0-9\-]+$

Valid when: code's length doesn't exceed 250 characters


Used By

Mutations

couponsCreate

Preview (typescript)

Loading module