Skip to content

Create an account grant

Request

Creates an account grant.

Security
ZephrHmacHttp
Path
userIdstringrequired

Unique User identifier

grantIdstringrequired

Unique Grant identifier

Bodyapplication/json
entitlement_typestringrequired

An enum describing the type of the entitlement.

Enum:"bundle""entitlement""meter""credits"
Example:"bundle"
entitlement_idstringrequired
Example:"b3d8007e-6729-4faf-b7a9-46b6900eabd4"
startTimestring
Example:"2022-06-01 00:00:00"
endTimestring
Example:"2022-12-31 23:59:59"
product_idstringrequired
Example:"fffd4076-d0cd-45a4-89f3-56ae8aea31f0"
{ "entitlement_type": "bundle", "entitlement_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "startTime": "2022-06-01 00:00:00", "endTime": "2022-12-31 23:59:59", "product_id": "XXXXXXXXXXXXXX" }

Responses

Created

Headers
any