Skip to main content
DELETE
/
api
/
v4.0
/
integrations
/
coupons
/
{lockReference}
cURL
curl --request DELETE \
  --url https://api.gameball.co/api/v4.0/integrations/coupons/{lockReference} \
  --header 'apikey: <api-key>'
{
  "success": true,
  "releasedAt": "2023-11-07T05:31:56Z",
  "releasedCoupons": [
    "<string>"
  ]
}

Release Coupons

This API releases the lock on coupons identified by the provided {lockReference} in Gameball. Once released, the coupons become available for use again, offering flexibility in managing coupon availability and redemption.

Path Parameters

lockReference
string
required
Unique identifier for the previously locked coupons to be available for others to use again or for another session.

Response

success
boolean
Whether the coupons were successfully released.
releasedAt
string
Timestamp when the coupons were released.
releasedCoupons
array
Array of coupon codes that were released.
releasedCoupons[]
string
The released coupon code.

Authorizations

apikey
string
header
required

Path Parameters

lockReference
string
required

Response

200 - application/json

Coupons released successfully

success
boolean
releasedAt
string<date-time>
releasedCoupons
string[]