API Docs

Build on YLP.
Keep your frontend.

This static site includes a lightweight docs landing page. Point these links at your full OpenAPI/GraphQL documentation when deploying.

CONTENT

Public content API

GET /api/public/v1/pages/home

COMMERCE

Products

GET /api/v1/shop/products

CHECKOUT

Checkout session

POST /api/v1/shop/checkout/session

FORMS

Public forms

POST /api/public/v1/plugins/ylp.forms/forms/:slug/submit

AUTH

API key + bearer

Use the appropriate auth model for public or customer-facing APIs.

OPENAPI

API explorer

Connect this page to your generated OpenAPI documentation in production.