List Products
/admin/productsThe store's products, archived ones included, each with the durations it sells at.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/products"[ { "id": "string", "name": "string", "connectionId": "string", "providerProductId": "string", "visibility": { "_tag": "Everyone" }, "skus": [ { "id": "string", "productId": "string", "connectionId": "string", "providerProductId": "string", "name": "string", "durationMinutes": 1, "listPriceMinor": 0, "minOrderQuantity": 1, "visibility": { "_tag": "Everyone" }, "archivedAt": "string", "createdAt": "string", "updatedAt": "string" } ], "archivedAt": "string", "createdAt": "string", "updatedAt": "string" }]List Price Rules GET
The store's price rules, promotions ended or not yet started included. Per unit, one of the store's own resellers pays its own FixedPrice of the SKU, else its tier's, else the SKU's listPriceMinor less its tier's discountBps; then the largest promotion running for it comes off that, never several together, and then the largest volume bracket its line's quantity reaches. Brackets apply to every reseller. Percentages are basis points: 1000 is 10%. A sub-reseller pays its upline's unit cost plus the markup its upline set instead. PreviewPricing answers what a reseller would pay.
List Skus GET
Every duration of every product, archived ones included, as price rules and purchases name them.
