Order detail

GET /user/{User_ID}/orders/{Order_ID}

Path parameters

  • User_ID integer Required
  • Order_ID integer Required

Responses

  • 200 application/json

    Order

    Hide response attributes Show response attributes object
    • id integer
    • company_id string

      ID of company that record belongs to

    • product_id integer
    • payment_status string

      Values are paid, unpaid, overpaid, or partially_paid.

    • debt integer(float)
    • balance integer(float)
    • paid integer(float)
    • status string

      Value is completed.

    • products object
    • payment_requests array[object]
      Hide payment_requests attributes Show payment_requests attributes object
      • id integer
      • check_response string
      • checked boolean
      • order_id integer
      • order_type string

        Values are product or course.

      • company_id string

        ID of company that record belongs to

      • payment_id integer
      • result string
      • request string
      • response string
      • created string(date-time)
      • modified string(date-time)
      • expires string(date-time)
      • provider string

        Values are tatra_banka, tatra_banka_cz, besteron, or stripe.

      • sign string
      • course object
      • schedule object
    • payments array[object]
      Hide payments attributes Show payments attributes object
      • id integer
      • variable_symbol integer
      • posting_date string(date)
      • value_date string(date)
      • due_date integer
      • amount integer
      • transaction_type string
      • created string(date-time)
      • modified string(date-time)
    • order_items array[object]
      Hide order_items attributes Show order_items attributes object
      • id integer
      • item_id integer

        Video or File ID

      • item_type string

        Values are video or document.

      • created string(date-time)
      • modified string(date-time)
      • name string
      • thumbnail_url string(uri)
    • invoices array[object]
      Hide invoices attributes Show invoices attributes object
      • id integer
      • invoice_no integer
      • order_id integer
      • order_type string

        Values are product or course.

      • company_id string

        ID of company that record belongs to

      • faktury_online_code string
      • invoice_data object
      • box_id integer
      • faktury_online_error_code integer
      • options string
      • created string(date-time)
      • modified string(date-time)
    • created string(date-time)
    • modified string(date-time)
GET /user/{User_ID}/orders/{Order_ID}
curl \
 --request GET 'https://api.zooza.app/v1/user/{User_ID}/orders/{Order_ID}'
Response examples (200)
[
  {
    "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": "2025-05-04T09:42:00Z",
        "modified": "2025-05-04T09:42:00Z",
        "expires": "2025-05-04T09:42:00Z",
        "provider": "tatra_banka",
        "sign": "string",
        "course": {},
        "schedule": {}
      }
    ],
    "payments": [
      {
        "id": 42,
        "variable_symbol": 42,
        "posting_date": "2025-05-04",
        "value_date": "2025-05-04",
        "due_date": 42,
        "amount": 42,
        "transaction_type": "string",
        "created": "2025-05-04T09:42:00Z",
        "modified": "2025-05-04T09:42:00Z"
      }
    ],
    "order_items": [
      {
        "id": 42,
        "item_id": 42,
        "item_type": "video",
        "created": "2025-05-04T09:42:00Z",
        "modified": "2025-05-04T09:42:00Z",
        "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": "2025-05-04T09:42:00Z",
        "modified": "2025-05-04T09:42:00Z"
      }
    ],
    "created": "2025-05-04T09:42:00Z",
    "modified": "2025-05-04T09:42:00Z"
  }
]