Published products
GET /api/v1/products
Authentication: None.
| Status | Meaning |
|---|---|
| 200 | OK |
Store categories with published products
GET /api/v1/store/categories
Authentication: None.
| Status | Meaning |
|---|---|
| 200 | OK |
Start Stripe Checkout for one on-sale digital item or fee
POST /api/v1/store/{id}/checkout
Authentication: None.
| Parameter | In | Required | Notes |
|---|---|---|---|
id | path | yes | Catalogue item id |
Body: application/json (optional).
| Status | Meaning |
|---|---|
| 201 | Checkout URL |
| 404 | Problem |
| 409 | Problem |
| 422 | Problem |
| 429 | Problem |
| 503 | Problem |
A purchase's delivery state, by Checkout Session id (the id is the credential)
GET /api/v1/store/sessions/{session_id}
Authentication: None.
| Parameter | In | Required | Notes |
|---|---|---|---|
session_id | path | yes | cs_live_… or cs_test_… |
| Status | Meaning |
|---|---|
| 200 | OK |
| 404 | Problem |
| 429 | Problem |
| 503 | Problem |
Download the purchased file while the entitlement is active
GET /api/v1/store/sessions/{session_id}/download
Authentication: None.
| Parameter | In | Required | Notes |
|---|---|---|---|
session_id | path | yes |
| Status | Meaning |
|---|---|
| 200 | The file |
| 404 | Problem |
| 410 | Problem |
Download from a signed link in the delivery email
GET /api/v1/downloads/{token}
Authentication: None.
| Parameter | In | Required | Notes |
|---|---|---|---|
token | path | yes |
| Status | Meaning |
|---|---|
| 200 | The file |
| 410 | Problem |
| 503 | Problem |