POST /v1/entitlements/grant
POST
/v1/entitlements/grantAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
entitlementKeystringrequiredmin length 1
sourcestringrequiredAllowed:
subscriptionoperatorpromotionsourceRefstringrequiredmin length 1
entitlementIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
entitlementIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
entitlementKeystringrequiredmin length 1
statusstringrequiredAllowed:
activerevokedsourcestringrequiredAllowed:
subscriptionoperatorpromotionsourceRefstringrequiredmin length 1
grantedAtstringrequiredmin length 1
metadataobjectrequiredrevokedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreasonstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1