v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CouponSets

Add Coupons

Adds coupon codes to a coupon set.

post/commerce/catalog/admin/couponsets/{couponSetCode}/couponcodes

Path parameters

couponSetCodestring required

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

canBeDeletedboolean
couponCodestring required

The code the customer uses to claim this coupon

couponSetCodestring nullable

Link to associated coupon

couponSetIdinteger

ReadOnly system id for releated couponset.

redemptionCountinteger nullable

Total number of times this code has been redeemed. ReadOnly, calculated. Only returned with response group includeCounts

Response

OK