Get list of orders
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET
/api-v1/orders
curl \
-X GET http://wyzio.app/api-v1/orders \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"activeSubOrderId": 42,
"activeSubOrderInvoicingDate": "2024-05-04T09:42:00+00:00",
"clientAdvancedInvoicingNote": "string",
"clientECorrespondence": true,
"clientEmail": "string",
"clientOrderEmail": "string",
"contactId": 42,
"contactName": "string",
"creatorContactId": 42,
"date": "2024-05-04T09:42:00+00:00",
"description": "string",
"expensesEnabled": true,
"flagsAmount": 42,
"hasProformaInvoice": true,
"hasWarnings": true,
"id": 42,
"inWorkflow": true,
"invoiceGenerated": true,
"isExpensesEnabled": true,
"isInWorkflow": true,
"isInvoiceGenerated": true,
"isPartialPaymentAvailable": true,
"isPeriodic": true,
"isPrePaymentAvailable": true,
"name": "string",
"orderAmount": 42.0,
"orderId": "string",
"orderIdNameConcat": "string",
"organizationId": 42,
"partialPaymentAvailable": true,
"periodic": true,
"prePaymentAvailable": true,
"status": "OFFERED",
"systemValidated": true,
"validated": true,
"warnings": "string",
"workflowPermissions": "string"
}
]