cURL
Promotional Entitlements
Grant promotional entitlement
Grant a promotional entitlement to specific customers or to all customers
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.metrifox.com/llms.txt
Use this file to discover all available pages before exploring further.
Customers are identified by their
customer_key. Use apply_to: "specific" with a customer_keys array to grant to a chosen set of customers, or apply_to: "all" to grant to every customer in your account.A customer can hold only one active promotional entitlement per feature at a time. Granting to a specific customer who already has an active promo for the same feature is rejected; granting to
all silently skips those customers.Create and manage promotional entitlements (the templates being granted here) from the Metrifox dashboard. This endpoint grants an existing promotional entitlement, identified by its
id, to your customers.Authorizations
Path Parameters
The unique identifier of the promotional entitlement to grant
Body
application/json
specific grants only to the customers listed in customer_keys.
all grants to every customer in your account (and customer_keys is ignored).
Available options:
specific, all Example:
"specific"
The customer keys to grant the promotional entitlement to. Required when apply_to is specific.
Example:
["cust_001", "cust_002"]
