Grant entitlement to customer
grant-customer-entitlementGrant a customer time-limited access to an entitlement until a set expiry, for support or goodwill cases. Access auto-expires and can be revoked.
Instructions
Grants a customer time-limited access to an entitlement until expires_at, for support or goodwill. The access ends by itself and can be revoked with revoke-customer-entitlement. The customer is created if new. Granting again with the same end date does nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_at | Yes | When access ends: milliseconds since epoch, an ISO 8601 date, or a duration from now such as 7d, 1m or 1y. | |
| project_id | No | RevenueDot project id (proj...). Optional when the key or account has exactly one project. | |
| customer_id | Yes | The app user id. | |
| entitlement_id | Yes | Entitlement id (entl...) or lookup key such as pro. |