Get orders

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
GET /api-v1/orders

Returns a list of orders based on the specified filters.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Query parameters

  • pageNumber integer

    Page Number

    Default value is 1.

  • sortingField string

    Field to sort by

  • direction string

    Sorting direction

    Values are ASC or DESC. Default value is ASC.

  • sizePerPage integer

    Size per page

    Default value is 60.

  • id string

    Order ID filter.

    Multi-value supported. Example: value1;value2

  • name string

    Order name filter

  • orderId string

    Internal order number / code filter

  • date string

    Order date filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • 01/01/2026..31/12/2026
    • >=01/01/2026
    • <=01/01/2026
    • <>01/01/2026

    Use <>01/01/2026 to return only records where the selected date is not equal to the filter date.

  • description string

    Order description filter

  • contactId string

    Client contact ID filter.

    Multi-value supported. Example: value1;value2

  • status string

    Order status filter

    Values are OFFERED, OFFERED_SENT, CONFIRMED, CONFIRMED_SENT, BILLABLE, FINISHED, or CANCELLED.

  • isExpensesEnabled boolean

    Whether expenses are enabled for the order

  • orderAmount string

    Order amount filterSupports comparison operators:

    • Range ( .. )
    • Greater than ( > )
    • Greater than or equal ( >= )
    • Less than ( < )
    • Less than or equal ( <= )
    • Not equal ( <> )

    Examples:

    • <=100.00
    • >=100.00
    • <>100.00
    • 100.00..200.00

    Use <>0 to return only records where the selected amount is not equal to zero.

  • hasWarnings boolean

    Whether the order has warnings

  • validated boolean

    Whether the order is validated

  • clientEmail string

    Client email filter

  • isInvoiceGenerated boolean

    Whether the order is currently generating an invoice

  • isPeriodic boolean

    Whether the order is periodic (recurring)

  • isInWorkflow boolean

    Whether the order is currently part of an active workflow

  • clientOrderEmail string

    Order email address filter

  • hasProformaInvoice boolean

    Whether the order has a proforma invoice

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • name string
    • orderId string
    • date string(date-time)
    • description string
    • contactName string
    • contactId integer(int64)
    • organizationId integer(int64)
    • warnings string
    • status string

      Values are OFFERED, OFFERED_SENT, CONFIRMED, CONFIRMED_SENT, BILLABLE, FINISHED, or CANCELLED.

    • isExpensesEnabled boolean
    • isPrePaymentAvailable boolean
    • isPartialPaymentAvailable boolean
    • orderAmount number
    • creatorContactId integer(int64)
    • hasWarnings boolean
    • validated boolean
    • clientEmail string
    • clientECorrespondence boolean
    • workflowPermissions string
    • isInvoiceGenerated boolean
    • isPeriodic boolean
    • isInWorkflow boolean
    • flagsAmount integer(int32)
    • activeSubOrderId integer(int64)
    • activeSubOrderInvoicingDate string(date-time)
    • systemValidated boolean
    • clientOrderEmail string
    • clientAdvancedInvoicingNote string
    • hasProformaInvoice boolean
    • orderIdNameConcat string
    • periodic boolean
    • inWorkflow boolean
    • expensesEnabled boolean
    • prePaymentAvailable boolean
    • partialPaymentAvailable boolean
    • invoiceGenerated boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/orders
curl \
 --request GET 'https://wyzio.app/api-v1/orders'
Response examples (200)
[
  {
    "id": 42,
    "name": "string",
    "orderId": "string",
    "date": "2026-05-04T09:42:00Z",
    "description": "string",
    "contactName": "string",
    "contactId": 42,
    "organizationId": 42,
    "warnings": "string",
    "status": "OFFERED",
    "isExpensesEnabled": true,
    "isPrePaymentAvailable": true,
    "isPartialPaymentAvailable": true,
    "orderAmount": 42.0,
    "creatorContactId": 42,
    "hasWarnings": true,
    "validated": true,
    "clientEmail": "string",
    "clientECorrespondence": true,
    "workflowPermissions": "string",
    "isInvoiceGenerated": true,
    "isPeriodic": true,
    "isInWorkflow": true,
    "flagsAmount": 42,
    "activeSubOrderId": 42,
    "activeSubOrderInvoicingDate": "2026-05-04T09:42:00Z",
    "systemValidated": true,
    "clientOrderEmail": "string",
    "clientAdvancedInvoicingNote": "string",
    "hasProformaInvoice": true,
    "orderIdNameConcat": "string",
    "periodic": true,
    "inWorkflow": true,
    "expensesEnabled": true,
    "prePaymentAvailable": true,
    "partialPaymentAvailable": true,
    "invoiceGenerated": true
  }
]