Commerce
Marketplace
Commerce Merchant

Merchant Create Coupon

post/api/commerce/merchant/coupons

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/commerce/merchant/coupons
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

project_idinteger nullable

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

codestring required
typestring
percentnumber nullable
amount_minorinteger nullable
activeboolean
descriptionstring nullable
expires_atstring nullable
max_redemptionsinteger nullable
listing_uuidsstring[] nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.