API → StoreCreate a new store couponhidden
hidden
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
post
/store/coupon$ curl -X POST "https://api.zoo.dev/store/coupon" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"percent_off": 4
}'
201 Created
Response{
"code": "zc2BA9dxDrTmrDbqeCwp4zPpr08h",
"expires_at": "2025-08-30T00:41:38.544Z",
"percent_off": 20
}