GraphQL
mutation SetCouponOnCustomer($input: SetCouponOnCustomerInput!) { setCouponOnCustomer(input: $input) { customerId coupon { code type discountValue duration } } }
Show properties
Customer