Remove specific unsold key
Remove a specific unsold key from an offer by its ID. Only unsold keys can be removed. Sold keys cannot be deleted.
Authorization
Public key Secret key In: header
In: header
Path Parameters
DELETE /v0/offers/:offerId/keys/:keyId/removeUnsold Parameter
uuidDELETE /v0/offers/:offerId/keys/:keyId/removeUnsold Parameter
uuidResponse Body
application/json
application/json
curl -X DELETE "https://example.com/v0/offers/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys/497f6eca-6276-4993-bfeb-53cbbbba6f08/removeUnsold"{ "status": "success", "data": { "success": true }}Remove unsold keys DELETE
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.
List orders GET
Retrieve a paginated list of orders with powerful filtering options. Orders represent purchases made by customers, including one-time purchases, subscription initiation, and free product claims. Subscription renewal payments are tracked as separate payment objects, not orders. Results are sorted by creation date (newest first) by default.