customerTiersModuleEnabled
Requires an authenticated session.
Returns whether the customer tiers module is switched on, so the console and the sales app can hide tier screens when it is off. Readable by every staff user.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query CustomerTiersModuleEnabled {
customerTiersModuleEnabled
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query CustomerTiersModuleEnabled {\n customerTiersModuleEnabled\n}"
}
EOF
Response:
{
"data": {
"customerTiersModuleEnabled": true
}
}
customerTiersModuleEnabled: Boolean!
Type
Boolean scalar
The Boolean scalar type represents true or false.