Archive an offer
Archive (soft delete) an offer by its ID. Archived offers can no longer be purchased but existing subscriptions continue. This action is reversible.
Authorization
Public key Secret key In: header
In: header
Request Body
application/json
PATCH /v0/offers/:offerId/archive Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v0/offers/{offerId}/archive" \ -H "Content-Type: application/json" \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }'{ "status": "success", "data": { "success": true }}Update an offer PATCH
Update an existing offer's details. Can modify name, price, and settings. Note that changing pricing on an active offer may affect existing subscription customers depending on your configuration.
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.