Commerce
Marketplace
Commerce Shop

Preview Coupon

Preview coupon discount without auth (guest cart estimate).

post/api/commerce/coupons/preview

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/coupons/preview
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

codestring required
subtotal_minorinteger required
seller_project_idinteger nullable
listing_uuidsstring[] nullable

Response

Successful Response

unknown required

Changes

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