PageHub Storefront API

Stripe catalog, checkout, orders and file downloads.

GitHub OpenAPI

Operations 30

GET /api/v1/sites/{id}/stripe Search the Stripe catalog #
POST /api/v1/sites/{id}/stripe Refresh the products collection from Stripe #
GET /api/v1/sites/{id}/storefront-settings Read storefront settings #
PATCH /api/v1/sites/{id}/storefront-settings Update storefront settings #
GET /api/v1/sites/{id}/checkout List checkout configs #
POST /api/v1/sites/{id}/checkout Point checkout at a collection #
DELETE /api/v1/sites/{id}/checkout Remove a collection's checkout config #
GET /api/v1/sites/{id}/orders List storefront orders #
POST /api/v1/sites/{id}/orders/{orderId}/deposit Place, keep or release a stay's refundable hold #
POST /api/v1/sites/{id}/orders/{orderId}/fulfilment Mark an order shipped #
DELETE /api/v1/sites/{id}/orders/{orderId}/fulfilment Mark an order not shipped #
POST /api/v1/sites/{id}/orders/{orderId}/guest-check Start a booking's guest check again #
POST /api/v1/sites/{id}/orders/{orderId}/refund Refund an order #
GET /api/v1/sites/{id}/downloads List hosted file downloads #
POST /api/v1/sites/{id}/downloads Publish a download or add a version #
DELETE /api/v1/sites/{id}/downloads Remove a download or one of its versions #
GET /api/v1/sites/{id}/orders/{orderId} Read one order #
GET /api/v1/sites/{id}/orders/{orderId}/agreement Read a stay's signed rental agreement #
POST /api/v1/sites/{id}/orders/{orderId}/agreement Remind the guest to sign #
POST /api/v1/sites/{id}/orders/{orderId}/approval Approve or decline a held order #
POST /api/v1/sites/{id}/orders/{orderId}/balance Collect the rest of a stay paid in two parts #
DELETE /api/v1/sites/{id}/orders/{orderId}/booking Reopen the dates an order holds #
GET /api/v1/sites/{id}/promo-codes List promo codes #
POST /api/v1/sites/{id}/promo-codes Create a promo code #
PATCH /api/v1/sites/{id}/promo-codes Turn a promo code off or on #
GET /api/v1/sites/{id}/downloads/grants List the buyers of a sold download #
DELETE /api/v1/sites/{id}/downloads/grants/{grantId} Revoke a buyer's download #
GET /api/v1/sites/{id}/paypal Get the site's PayPal connection #
PUT /api/v1/sites/{id}/paypal Connect PayPal #
DELETE /api/v1/sites/{id}/paypal Disconnect PayPal #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pagehub-dev:pagehub-dev-storefront-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pagehub-dev-storefront-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PageHub Storefront API
  version: 1.0.0
  description: 'The public REST API of PageHub, called with a `ph_` API key (`Authorization: Bearer ph_...`), plus the one webhook the platform calls on a white-label tenant''s server (`fetchPage`).


    A site is HTML + Liquid files: its pages are files (`pages/*.liquid`), written through the files API; the page routes manage each page''s record (name, slug, SEO, access). Writes land in the site''s draft; `PUT /api/v1/sites/{id}` with `published: true` makes the draft live.


    The headless content API (`/api/v1/content/...`) is described by its own document (`GET /api/v1/content/openapi.json`); `GET /api/openapi.json` serves this document with it merged in.


    The routes also accept the dashboard''s session cookie from the dashboard itself; only the API key is the public contract.


    Every operation carries two extension fields. `x-auth` says who may call it: `api-key` (a `ph_` key), `session-or-key` (the dashboard''s own session, or a key), `optional-key` (public, a key widens what you see), `admin-key` (a platform admin''s key), `session` (the dashboard session only; an API key is refused) or `public`. `x-rate-limit` names the rate-limit rule (see the rate-limiting guide) when the route has one; most routes limit per user, public routes per IP.'
  contact:
    name: PageHub
    url: https://pagehub.dev/developers
servers:
- url: https://pagehub.dev
  description: PageHub
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (63 KB total) ---
# Full source: https://artifacts.apis.io/pagehub-dev/openapi/pagehub-dev-storefront-api-openapi.yml