API reference
Create coupon
POST
/v1/couponsAuthorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/coupons" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'"497f6eca-6276-4993-bfeb-53cbbbba6f08"