Skip to content
Guides
Content & StorefrontStorefront Routes

Resolve route

Returns the active storefront slug for a hostname.

GET/v1/storefront-routes/{hostname}

Returns the active storefront slug for a hostname.

Path Parameters

hostname*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/storefront-routes/Example resource"
{  "slug": "example-resource"}