# PageHub Storefront API

**Canonical:** https://apis.io/apis/pagehub-dev/pagehub-dev-storefront-api/  
**Provider:** PageHub — https://apis.io/providers/pagehub-dev/  
**Base URL:** https://pagehub.dev  
**Documentation:** https://pagehub.dev/docs/api

PageHub Storefront API is one of 23 APIs that [PageHub](https://apis.io/providers/pagehub-dev/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Storefront. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

Stripe catalog, checkout, orders and file downloads.

## Operations (30)

| Method | Path | Summary |
|---|---|---|
| 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 |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/pagehub-dev/openapi/pagehub-dev-storefront-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/pagehub-dev/json-schema/pagehub-dev-site-order-schema.json
- **JSONSchema** — https://artifacts.apis.io/pagehub-dev/json-schema/pagehub-dev-storefront-settings-schema.json

## Other PageHub APIs (12)

- [PageHub Blocks API](https://apis.io/apis/pagehub-dev/pagehub-dev-blocks-api/)
- [PageHub Chat API](https://apis.io/apis/pagehub-dev/pagehub-dev-chat-api/)
- [PageHub Collections API](https://apis.io/apis/pagehub-dev/pagehub-dev-collections-api/)
- [PageHub Components API](https://apis.io/apis/pagehub-dev/pagehub-dev-components-api/)
- [PageHub Components library API](https://apis.io/apis/pagehub-dev/pagehub-dev-components-library-api/)
- [PageHub Content API](https://apis.io/apis/pagehub-dev/pagehub-dev-content-api/)
- [PageHub Domain API](https://apis.io/apis/pagehub-dev/pagehub-dev-domain-api/)
- [PageHub Emails API](https://apis.io/apis/pagehub-dev/pagehub-dev-emails-api/)
- [PageHub Files API](https://apis.io/apis/pagehub-dev/pagehub-dev-files-api/)
- [PageHub Format API](https://apis.io/apis/pagehub-dev/pagehub-dev-format-api/)
- [PageHub Forms API](https://apis.io/apis/pagehub-dev/pagehub-dev-forms-api/)
- [PageHub History API](https://apis.io/apis/pagehub-dev/pagehub-dev-history-api/)

## Tags

Storefront

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pagehub-dev` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/pagehub-dev/pagehub-dev-storefront-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pagehub-dev/.
