Offers
Remove unsold keys
Remove all unsold keys from an offer. This action permanently deletes keys that have not been assigned to customers. Sold keys are preserved for record-keeping.
Authorization
Public key Secret key x-fngs-public-key<token>
In: header
x-fngs-secret-key<token>
In: header
Path Parameters
offerId*string
DELETE /v0/offers/:offerId/keys/removeAllUnsold Parameter
Format
uuidResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v0/offers/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/removeAllUnsold"{ "status": "success", "data": { "success": true }}Add product keys POST
Add product keys (license keys, game keys, etc.) to an offer. Keys are automatically assigned to customers upon successful purchase. Each key can only be used once.
Remove specific unsold key DELETE
Remove a specific unsold key from an offer by its ID. Only unsold keys can be removed. Sold keys cannot be deleted.