Grants an add-on to the entitlement.
const url = 'https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/add-on-grants';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"addOnId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","startsAtUtc":"2026-04-15T12:00:00Z","expiresAtUtc":"2026-04-15T12:00:00Z","reference":"example","campaignId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/add-on-grants \ --header 'Content-Type: application/json' \ --data '{ "addOnId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "startsAtUtc": "2026-04-15T12:00:00Z", "expiresAtUtc": "2026-04-15T12:00:00Z", "reference": "example", "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Entitlement id.
Request Bodyrequired
Section titled “Request Bodyrequired”Cancellation token.
Admin request to grant an add-on to an entitlement.
object
When the grant takes effect; null starts it immediately.
When the grant ends; null grants it without expiry.
Free-form reference (e.g. order number) recorded on the grant.
Campaign the grant runs under; records an AddOnGrant attribution touch on the entitlement.
Examplegenerated
{ "addOnId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "startsAtUtc": "2026-04-15T12:00:00Z", "expiresAtUtc": "2026-04-15T12:00:00Z", "reference": "example", "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Admin request to grant an add-on to an entitlement.
object
When the grant takes effect; null starts it immediately.
When the grant ends; null grants it without expiry.
Free-form reference (e.g. order number) recorded on the grant.
Campaign the grant runs under; records an AddOnGrant attribution touch on the entitlement.
Examplegenerated
{ "addOnId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "startsAtUtc": "2026-04-15T12:00:00Z", "expiresAtUtc": "2026-04-15T12:00:00Z", "reference": "example", "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Admin request to grant an add-on to an entitlement.
object
When the grant takes effect; null starts it immediately.
When the grant ends; null grants it without expiry.
Free-form reference (e.g. order number) recorded on the grant.
Campaign the grant runs under; records an AddOnGrant attribution touch on the entitlement.
Examplegenerated
{ "addOnId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "startsAtUtc": "2026-04-15T12:00:00Z", "expiresAtUtc": "2026-04-15T12:00:00Z", "reference": "example", "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “Responses”OK
An add-on grant on an entitlement as returned by the admin API, denormalized with the add-on and suite display fields.
object
The suite this add-on overlays.
Display name of that suite.
Campaign the grant was made under, when it was part of one.
True when the grant is inside its start/expiry window and not revoked.
An add-on grant on an entitlement as returned by the admin API, denormalized with the add-on and suite display fields.
object
The suite this add-on overlays.
Display name of that suite.
Campaign the grant was made under, when it was part of one.
True when the grant is inside its start/expiry window and not revoked.
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "addOnId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "addOnCode": "example", "addOnName": "example", "suiteId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "suiteName": "example", "startsAt": "2026-04-15T12:00:00Z", "expiresAt": "2026-04-15T12:00:00Z", "isRevoked": true, "revokedAt": "2026-04-15T12:00:00Z", "reference": "example", "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "isActive": true}An add-on grant on an entitlement as returned by the admin API, denormalized with the add-on and suite display fields.
object
The suite this add-on overlays.
Display name of that suite.
Campaign the grant was made under, when it was part of one.
True when the grant is inside its start/expiry window and not revoked.
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "addOnId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "addOnCode": "example", "addOnName": "example", "suiteId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "suiteName": "example", "startsAt": "2026-04-15T12:00:00Z", "expiresAt": "2026-04-15T12:00:00Z", "isRevoked": true, "revokedAt": "2026-04-15T12:00:00Z", "reference": "example", "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "isActive": true}Bad Request
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}