comecerodocs

List shop features

GET
/shop_features

Read setup progress without pagination. Non-customer merchant Secret, Trusted, App and scoped Admin/proxy credentials need settings_general read or a relevant resource read permission. Limited/customer, platform Admin and Service credentials cannot read these summaries. Omit unauthorized features; return 403 ShopFeatureRead if none are authorized. Existing resource-method limits still apply to Apps and proxy credentials. Settings-only readers see intent without inferring hidden resources and have open false. Account and mode come from the token; query parameters cannot select another shop or mode. Reads create no setup intent, resource or repair work. A failed feature read returns HTTP 200 with state unavailable and keeps the other cards. Keep permitted resource links and offer a retry. Usage billing checks readable metrics, rate plans and agreements; a usage key alone does not configure it. Credits checks a named unit or credit grant, including a money balance. Entitlements checks the feature catalog or a saved feature set. License keys checks generated services only; list and remote services do not count.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Response Body

Authorized summaries, including unavailable summaries when required reads fail.

application/json
  1. response
object*unknown
data*array<>

Authorized summaries in usage_billing, credits, entitlements, license_keys order.

Itemsitems <= 4
has_more*unknown

This list is not paginated.

Example Request
curl -X GET 'https://api.comecero.com/api/v1/shop_features'
Example Response
{  "object": "list",  "has_more": false,  "data": [    {      "object": "shop_feature",      "account_id": "AB1234",      "test": true,      "feature": "usage_billing",      "state": "not_started",      "restriction": {        "state": "clear",        "message": null,        "event_id": null,        "date_changed": null,        "scope": "live_and_test",        "resolution_path": "/support"      },      "actions": {        "start": true,        "open": true      },      "admin_path": "/usage-billing"    },    {      "object": "shop_feature",      "account_id": "AB1234",      "test": true,      "feature": "credits",      "state": "started",      "restriction": {        "state": "clear",        "message": null,        "event_id": null,        "date_changed": null,        "scope": "live_and_test",        "resolution_path": "/support"      },      "actions": {        "start": true,        "open": true      },      "admin_path": "/usage-billing/credits"    },    {      "object": "shop_feature",      "account_id": "AB1234",      "test": true,      "feature": "entitlements",      "state": "configured",      "restriction": {        "state": "clear",        "message": null,        "event_id": null,        "date_changed": null,        "scope": "live_and_test",        "resolution_path": "/support"      },      "actions": {        "start": true,        "open": true      },      "admin_path": "/entitlements"    },    {      "object": "shop_feature",      "account_id": "AB1234",      "test": true,      "feature": "license_keys",      "state": "unavailable",      "restriction": {        "state": "clear",        "message": null,        "event_id": null,        "date_changed": null,        "scope": "live_and_test",        "resolution_path": "/support"      },      "actions": {        "start": false,        "open": true      },      "admin_path": "/license-services"    }  ]}