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>' \
  --header 'secretkey: <api-key>'
{
  "success": true,
  "releasedAt": "2023-11-07T05:31:56Z",
  "releasedCoupons": [
    "<string>"
  ]
}
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.
Security: Requires apikey and secretkey headers.

Authorizations

apikey
string
header
required
secretkey
string
header
required

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

200 - application/json

Coupons released successfully

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