Checkout
Apply a coupon to a cart
Apply a coupon code to a cart. Requires the apply_coupon feature tier. MVP: matches against a hardcoded fixture list (WELCOME10, SAVE20, FLAT5, FREESHIP, TEST*), not per-merchant discount codes.
post/agent/apply-coupon
Request
- Base URL: https://api.trusteed.xyz/api/v1
- URL: https://api.trusteed.xyz/api/v1/agent/apply-coupon
- Auth: API key in header X-Agent-Api-Key
Request body
Response
Coupon applied (or rejected as invalid) successfully
Changes
No recorded changes to this operation across all 1 revision of this API.