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.
Instructions
- Install the
vtex.admin-graphql-ide@3.x
app using your terminal. - Access the GraphQL admin IDE.
- From the dropdown list, choose the
vtex.tenant-graphql@0.x.x
app. - Write the following query command in the text box that is displayed:
_10query {_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.