GET
/
v1
/
c
/
entitlement
/
{customer_id}
/
access
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": {
    "entitlement_details": {
      "pricing_strategy": "flat"
    },
    "features": [
      {
        "entitlement_details": {
          "pricing_strategy": "flat"
        },
        "name": "<string>",
        "original_feature_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670",
        "slug": "<string>"
      }
    ],
    "name": "<string>",
    "original_plan_id": "Cust_c40bea18-c0c9-44b1-bd0c-43f5283e1670",
    "slug": "<string>"
  }
}

Authorizations

wb-key
string
header
required

Path Parameters

customer_id
string
required

Id of the customer

Response

200 - application/json
Features user has access to

Data to show what features the given user should have access to

contract
object
required

Describes Contract object for Entitlement endpoint

customer
object
required

Describes the status of the customer for Entitlement response

plan
object
required

Reduced information about a Plan for Entitlement endpoint