Menu
Guides
Storefront Development

Storefront Development

Checking your store's binding id

1 min read

If your store is a Multistore or a Cross-border one, it's important to know the id values of its related bindings's.

Follow the steps below to access this information.

Instructions

  1. Install the vtex.admin-graphql-ide@3.x app using your terminal.
  2. Access the GraphQL admin IDE.
  3. From the dropdown list, choose the vtex.tenant-graphql@0.x.x app.
  4. Enter the following query in the text box:

_10
query {
_10
tenantInfo {
_10
bindings {
_10
id,
_10
canonicalBaseAddress,
_10
defaultLocale
_10
}
_10
}
_10
}

The expected response is a JSON object, as shown below:


_23
{
_23
"data": {
_23
"tenantInfo": {
_23
"bindings": [
_23
{
_23
"id": "706e9126-d0fc-46de-b12d-5f9649e61877",
_23
"canonicalBaseAddress": "{account}.myvtex.com/admin",
_23
"defaultLocale": "en-US"
_23
},
_23
{
_23
"id": "706e9126-d0fc-47de-9o2d-5f9649e61877",
_23
"canonicalBaseAddress": "{account}.myvtex.com/es",
_23
"defaultLocale": "es-AR"
_23
},
_23
{
_23
"id": "748aafcf-1674-456d-9ffc-7ddb3f26e43f",
_23
"canonicalBaseAddress": "{account}.myvtex.com/en",
_23
"defaultLocale": "en-US"
_23
}
_23
]
_23
}
_23
}
_23
}

Save the response, as this information may be useful when managing your VTEX account.