Skip to content

request object ​

Last updated View as Markdown

Information about the current URL and the associated page.

Properties ​


NameTypeDescription
urlstringThe url of the request.
hoststringThe domain that the request is hosted on.
pathstringThe path of the request, for example /products/linen-shirt.
design_modebooleanReturns true if the request is being made from within the theme editor. Returns false if not.
localestore_localeThe language of the request.