MobiariDocs
Admin APIIntegrations

Get store capabilities

GET
/stores/{store_id}/capabilities

How the store runs inventory, payments and freight: the registry of capabilities and modules, and which modules the store has active.

Authorization

bearer_auth
AuthorizationBearer <token>

Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.

In: header

Path Parameters

store_id*string

Store id

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/capabilities"
{
  "capabilities": [
    {
      "description": "string",
      "key": "string",
      "modules": [
        {
          "accent": "string",
          "available": true,
          "code": "string",
          "connect": {
            "docs_url": "string",
            "fields": [
              {
                "default": "string",
                "help": "string",
                "key": "string",
                "label": "string",
                "options": [
                  {
                    "label": "string",
                    "value": "string"
                  }
                ],
                "options_path": "string",
                "placeholder": "string",
                "required": true,
                "secret": true,
                "type": "text"
              }
            ],
            "kind": "managed",
            "provider_api": "string",
            "provider_code": "string",
            "webhook_path": "string"
          },
          "description": "string",
          "icon": "string",
          "kind": "native",
          "name": "string",
          "needs_setup": true
        }
      ],
      "name": "string",
      "onboarding": true,
      "question": "string",
      "selection": "single"
    }
  ],
  "selections": {
    "freight": [
      "string"
    ],
    "inventory": "string",
    "payments": [
      "string"
    ]
  }
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}