Archive a plan
Archive (soft delete) a plan by its ID. Existing subscriptions on this plan continue. This action is reversible.
Authorization
Public key Secret key In: header
In: header
Path Parameters
Unique identifier (UUID) of the product.
uuidUnique identifier (UUID) of the plan.
uuidRequest Body
application/json
PATCH /v0/products/:productId/plans/:planId/archive Request body
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v0/products/550e8400-e29b-41d4-a716-446655440000/plans/550e8400-e29b-41d4-a716-446655440000/archive" \ -H "Content-Type: application/json" \ -d '{ "id": "string" }'{ "status": "success", "data": { "success": true }}Update a plan PATCH
Update an existing plan's details.
List report rows for orders GET
Retrieve the rows of the Reports export, one per order, paged and newest first. Every row carries the same columns as the CSV the dashboard exports for the same range, statuses and time zone, with amounts as integers in the smallest currency unit and the currency in its own field. The date range is widened to whole days in the requested time zone — or in the workspace's own time zone when none is given — and starts no earlier than the day the workspace was created; a range that ends before then returns no rows. Use 'page' and 'limit' to walk the whole result set; 'count' and 'pages' are returned on every page. Orders keep arriving and changing status, so walk a range that has already closed, and start over if 'count' changes between pages. An unknown time zone or status, an end date before the start date, a date past the year 9999 or a page beyond any possible offset is rejected with 400.