List of orders
GET
/user/{User_ID}/orders
curl \
-X GET https://api.zooza.app/v1/user/{User_ID}/orders
Response examples (200)
{
"data": [
{
"id": 42,
"company_id": "string",
"product_id": 42,
"payment_status": "paid",
"debt": 42,
"balance": 42,
"paid": 42,
"status": "completed",
"products": {},
"payment_requests": [
{
"id": 42,
"check_response": "string",
"checked": true,
"order_id": 42,
"order_type": "product",
"company_id": "string",
"payment_id": 42,
"result": "string",
"request": "string",
"response": "string",
"created": "2024-05-04T09:42:00+00:00",
"modified": "2024-05-04T09:42:00+00:00",
"expires": "2024-05-04T09:42:00+00:00",
"provider": "tatra_banka",
"sign": "string",
"course": {},
"schedule": {}
}
],
"payments": [
{
"id": 42,
"variable_symbol": 42,
"posting_date": "2024-05-04",
"value_date": "2024-05-04",
"due_date": 42,
"amount": 42,
"transaction_type": "string",
"created": "2024-05-04T09:42:00+00:00",
"modified": "2024-05-04T09:42:00+00:00"
}
],
"order_items": [
{
"id": 42,
"item_id": 42,
"item_type": "video",
"created": "2024-05-04T09:42:00+00:00",
"modified": "2024-05-04T09:42:00+00:00",
"name": "string",
"thumbnail_url": "https://example.com"
}
],
"invoices": [
{
"id": 42,
"invoice_no": 42,
"order_id": 42,
"order_type": "product",
"company_id": "string",
"faktury_online_code": "string",
"invoice_data": {},
"box_id": 42,
"faktury_online_error_code": 42,
"options": "string",
"created": "2024-05-04T09:42:00+00:00",
"modified": "2024-05-04T09:42:00+00:00"
}
],
"created": "2024-05-04T09:42:00+00:00",
"modified": "2024-05-04T09:42:00+00:00"
}
]
}