Base URL
Authentication
All API requests require a Bearer token in theAuthorization header.
Object types
Every API resource includes anobject field that identifies the resource type:
prod_abc123, cus_ghi789).
Slug lookup
Products, blog posts, experiences, and legal pages can be retrieved by slug instead of ID:List responses
List endpoints return a consistent envelope:starting_after and limit query parameters to paginate. Pass the id of the last item to fetch the next page:
Expandable fields
Some endpoints support anexpand query parameter to include related data inline. Pass a comma-separated list of fields:
Delete responses
Delete endpoints return a confirmation:Errors
All errors follow this format:| Status | Type | Code | Description |
|---|---|---|---|
| 400 | invalid_request_error | parameter_missing | A required parameter is missing |
| 401 | invalid_request_error | authentication_required | Invalid or missing API token |
| 404 | invalid_request_error | resource_missing | Resource not found |
| 422 | validation_error | validation_failed | Request failed validation |
| 500 | api_error | — | Internal server error |
SDKs
TypeScript
Install the official TypeScript SDK:Full endpoint reference
Browse all available endpoints below.

