cURL
curl --request PATCH \ --url https://api.spacebring.com/discounts/coupons/v1/{id} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "coupon": { "limitedItems": { "values": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ] } } } '
{ "message": "<string>", "type": "<string>" }
Update a coupon.
invoices
See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
The id of the coupon
Show child attributes
No Content