Get storefront config vars

Returns the environment configuration variables for the storefront.

Returns the environment configuration variables for the storefront application.

Requires the storefront:configvars:read or storefront.read permission.

Request

GET /storefront/config-vars

Headers

HeaderValue
AuthorizationBearer <token>

Response

Returns a JSON object of key-value pairs representing the storefront environment variables.

Example Response

{
  "NEXT_PUBLIC_MAKAIRA_URL": "https://myshop-production.makaira.io",
  "NEXT_PUBLIC_SHOP_DOMAIN": "www.myshop.com"
}
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json