1.6 KiB
1.6 KiB
name, description
| name | description |
|---|---|
| coupons-routes | Handle 5 OpenAPI operation(s) under /v1/coupons for the coupons route group. |
coupons API Routes
Handle 5 OpenAPI operation(s) under /v1/coupons for the coupons route group.
Use the generated operation tools to make real API calls. Do not invent API responses. If a tool reports missing setup, return the exact setup field name to the caller. For write, update, or delete operations, state the intended action before calling the tool.
Operations
get_coupons
- Operation ID:
get_coupons - Route:
GET /v1/coupons - Mode: READ
- Summary: List all coupons
- Parameters:
createdinqueryending_beforeinqueryexpandinquerylimitinquerystarting_afterinquery
- Body: JSON request body accepted.
post_coupons
- Operation ID:
post_coupons - Route:
POST /v1/coupons - Mode: WRITE
- Summary: Create a coupon
- Body: JSON request body accepted.
delete_coupons_coupon
- Operation ID:
delete_coupons_coupon - Route:
DELETE /v1/coupons/{coupon} - Mode: WRITE
- Summary: Delete a coupon
- Parameters:
couponinpathrequired
- Body: JSON request body accepted.
get_coupons_coupon
- Operation ID:
get_coupons_coupon - Route:
GET /v1/coupons/{coupon} - Mode: READ
- Summary: Retrieve a coupon
- Parameters:
couponinpathrequiredexpandinquery
- Body: JSON request body accepted.
post_coupons_coupon
- Operation ID:
post_coupons_coupon - Route:
POST /v1/coupons/{coupon} - Mode: WRITE
- Summary: Update a coupon
- Parameters:
couponinpathrequired
- Body: JSON request body accepted.