Documentation
Feedback
Guides
Storefront Development

Storefront Development
Store FrameworkSetting up cross-border stores
Checking your store's binding id

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

Hence, for a step by step on how to access this information, check the following section.

Step by step

  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 app.
  4. Write the following query command in the text box that is displayed:

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

The expected response is a JSON object, as in:


_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
}

That's all! Save the returned response as this information might be useful when managing your VTEX account.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page