Skip to main content
PATCH
/
dev
/
v1
/
licenses
/
{id}
Update license
curl --request PATCH \
  --url https://api.shoppex.io/dev/v1/licenses/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "hardware_id": "HWID-2",
  "expires_at": "2030-02-01T00:00:00.000Z"
}
'
{
  "data": {
    "productLicense": {
      "uniqid": "lic_1",
      "hardware_id": "HWID-2"
    }
  }
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response

data
object