Licenses

Activate a license key

Records an activation on the key and returns just that activation. Store its id — deactivating later is DELETE /v1/licenses/activations/{activation_id}/.

post/v1/licenses/activations/

Request

  • Base URL: https://api.sellfy.com
  • URL: https://api.sellfy.com/v1/licenses/activations/
  • Auth: HTTP bearer

Request body

product_idstring required

ID of the Sellfy product the license key belongs to. To find it, open Products → All products in your dashboard and pick Copy product ID from the options menu (⋯) of the product row. Alternatively, open the product for editing and copy the ID from the address bar: it is the last part of the URL

license_keystring required

The license key string.

metaobject

Free-form data describing the activation (e.g. device id, site url). Stored as-is and returned with the activation.

Response

A single activation recorded on the license key.

idstring required

Id of the activation — deactivate it with DELETE /v1/licenses/activations/{activation_id}/.

activated_atstring required
metaobject required

The meta data sent when activating.

Changes

No recorded changes to this operation across all 1 revision of this API.