Get one of a shop’s pages
const url = 'https://example.com/storefront/sites/northgate.shop.getbottle.app/pages/refills-and-swaps';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/storefront/sites/northgate.shop.getbottle.app/pages/refills-and-swapsDeliberately unauthenticated: a page the business published on its shop, by its address, with its body cleaned again on the way out. A page whose address changed answers kind moved with where it is now. With preview, a token from POST /storefront/preview, drafts too, never cached. Anything else, including a shop closed for now, is 404 with an empty body.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
northgate.shop.getbottle.appExample
refills-and-swapsQuery Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The page, or where it moved to
object
object
UUID v7
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Featured: the home page’s featured products first, then the rest by price. price-low, price-high: by the price the shopper pays. name: A to Z. newest: added most recently first.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
Paragraphs, headings, lists, bold, italic and links. On a page, pictures and product blocks too. Cleaned on every save and read.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
object
Every category the shop shows, in the shop’s order, one link each.
object
object
UUID v7
object
UUID v7
object
An https address. Anything else is refused.
No link: words with links under them, as a heading at the foot or a list that opens at the top.
object
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
Stable within the page. Lower-case letters, digits and dashes.
How wide the section is on a wide screen, in parts of the page: full, threeQuarters, twoThirds, half, third or quarter. Absent: full. Each kind allows only some (see the help guide). Every section is full width on a phone.
object
object
object
Example
{ "kind": "page", "page": { "id": "019205d1-6e7a-7c3b-9f6e-3a2b1c0d9e8f", "sections": [ { "width": "full", "type": "banners" } ] }}Not changed since the ETag sent
No such page. No body.
Too many requests from one address