v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
CouponSets

Assign Discount to Coupon Set

Assigns or associates an existing discount to a specified coupon set. Use the couponSetCode parameter to specify the coupon set.

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

Path parameters

couponSetCodestring required

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Request body

couponSetCodestring nullable

ReadOnly, CouponSetCode copied from URI

couponSetIdinteger

ReadOnly, CouponSetId

discountIdinteger required

Discount Id for the associated discount

Response

OK