curl --request GET \
--url http://127.0.0.1:8080/v1/c/entitlement/{customer_id}/access \
--header 'wb-key: <api-key>'{
"contract": {
"contract_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670",
"status": "active"
},
"customer": {
"status": "active"
},
"plan": {
"features": [
{
"name": "<string>",
"slug": "<string>",
"entitlement_details": {
"pricing_strategy": "flat"
},
"original_feature_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"
}
],
"name": "<string>",
"slug": "<string>",
"entitlement_details": {
"pricing_strategy": "flat"
},
"original_plan_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"
}
}Retrieve a list of all features a customer currently has access to.
curl --request GET \
--url http://127.0.0.1:8080/v1/c/entitlement/{customer_id}/access \
--header 'wb-key: <api-key>'{
"contract": {
"contract_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670",
"status": "active"
},
"customer": {
"status": "active"
},
"plan": {
"features": [
{
"name": "<string>",
"slug": "<string>",
"entitlement_details": {
"pricing_strategy": "flat"
},
"original_feature_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"
}
],
"name": "<string>",
"slug": "<string>",
"entitlement_details": {
"pricing_strategy": "flat"
},
"original_plan_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"
}
}Id of the customer
Features user has access to
Data to show what features the given user should have access to
Describes Contract object for Entitlement endpoint
Show child attributes
Unique identifier of an object. Consists of object class prefix and a UUID
"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"
Status of the contract:
active, pending, scheduled, canceled, moved, not_ready Describes the status of the customer for Entitlement response
Show child attributes
Status of the Customer
active, inactive, temporary Reduced information about a Plan for Entitlement endpoint
Show child attributes
Features that the plan gives access to
Show child attributes
Name of the feature
Slug of the feature
Unique identifier of an object. Consists of object class prefix and a UUID
"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"
Name of the plan
Slug of the plan
Unique identifier of an object. Consists of object class prefix and a UUID
"Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670"