Skip to main content
POST
/
dev
/
v1
/
licenses
Create license
curl --request POST \
  --url https://api.shoppex.io/dev/v1/licenses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "product_id": "prod_1",
  "invoice_id": "inv_1",
  "license_key": "XYZ-789"
}
'
{
  "data": {
    "productLicense": {
      "uniqid": "lic_2",
      "product_id": "prod_1",
      "license_key": "XYZ-789"
    }
  }
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response

data
object