POST list_products
Your product listings with title, type, price, status and custom category.
read
Lists your listings with title, type, price, status and custom category. Filter by status, type or custom category to find a group of products. Pages hold up to 100 products; pass next_cursor back as cursor for the next page.
POST /api/v1/teachers-pay-teachers/list_products
Input
| Parameter | Type | Description |
|---|---|---|
| status | enum | active, inactive or all. Default: all. |
| type | enum | digital_download, bundle, video, google_resource or all. Default: all. |
| custom_category | string | Only products in this store custom category. |
| limit | integer | 1 to 100. Default: 50. |
| cursor | string | Next page cursor from the previous call. |
Example response
{
"products": [
{
"product_id": "11204567",
"title": "Fraction Task Cards, Grades 3-4",
"type": "digital_download",
"price_cents": 600,
"status": "active",
"custom_category": "Fractions"
},
{
"product_id": "9873310",
"title": "Fractions Bundle",
"type": "bundle",
"price_cents": 900,
"status": "active",
"custom_category": "Fractions"
}
],
"next_cursor": null
}