Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/orders/batch
curl \
--request POST 'https://wyzio.app/api-v1/orders/batch' \
--header "Content-Type: application/json" \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42" \
--data '[{"id":42,"contactId":42,"contactName":"string","orderId":"string","name":"string","status":"OFFERED","statusLastChangedDate":"string","description":"string","parentOrderId":42,"department":42,"vatRateId":42,"currencyId":42,"requestedPaymentTerms":"string","orderValidity":"string","minimumAmountToInvoice":"string","ourContactId":42,"yourContactId":42,"periodicityConfiguration":{"id":42,"startDate":"string","endDate":"string","periodicityType":"NONE","dayOfWeek":"MONDAY","invoicingTime":"FIRST_DAY","orderId":42},"isTimesheetsEnabled":true,"timesheetsAccountId":42,"fixedAmount":"string","timesheetsVatRateId":42,"timesheetsVat":"string","timesheetsTotalPrice":"string","timesheetsDescription":"string","timesheetsLongDescription":"string","timesheetsDiscount":42.0,"timesheetsDepartmentId":42,"timesheetsOfficeId":42,"isExpensesEnabled":true,"isDisbursementFeeEnabled":true,"disbursementDepartmentId":42,"expensesDepartmentId":42,"office":42,"disbursementOfficeId":42,"expensesOfficeId":42,"includedArticles":[{"id":42,"tempId":42,"orderId":42,"articleId":42,"description":"string","longDescription":"string","price":"string","amount":"string","discount":"string","totalNet":"string","vatRateId":42,"vat":"string","totalPrice":"string","status":"SHIPPED","shipments":[{"id":42,"shipmentDate":"string","articleId":42,"quantity":"string","currencyCode":"string","totalCost":42.0,"generatedStockMovementId":42,"articleName":{"en":"string","fr":"string","de":"string","it":"string"},"articleIdSku":"string","orderArticleId":42,"salesInvoiceLineId":42}],"articleName":{"en":"string","fr":"string","de":"string","it":"string"},"departmentId":42,"officeId":42}],"orderLines":[{"id":42,"tempId":42,"orderId":42,"description":"string","longDescription":"string","saleAccountId":42,"price":"string","amount":"string","discount":"string","totalNet":"string","vatRateId":42,"vat":"string","totalPrice":"string","saleAccountName":{"en":"string","fr":"string","de":"string","it":"string"},"departmentId":42,"officeId":42}],"orderElementsLayoutLines":[{"id":42,"name":"string","parentId":42,"position":42,"children":[{}],"lineType":"ARTICLE","orderElementId":42}],"warnings":"string","organizationId":42,"isInvoiceGenerated":true,"hasOnlyPrepaymentsInvoices":true,"yourReference":"string","clientAddressId":42,"address":{"id":42,"name":"string","line1":"string","line2":"string","city":"string","region":{"id":42,"name":"string","code":"string","taxMode":"ANNUALLY"},"countryCode2":"string","postCode":"string","toTheAttentionOf":"string","position":42,"houseNumber":"string","countryId":42,"service":"string","readOnly":true},"clientName":"string","statusHistories":[{"id":42,"status":"OFFERED","date":"string"}],"tasks":[{"id":42,"name":"string","rate":42.0,"parentId":42,"position":42,"children":[{}],"archived":true}],"clientHasVatType":true,"validated":true,"paymentAccountId":42,"validatorUserIdsSize":42,"validatorUserIds":[42],"realValidated":true,"activeSubOrderId":42,"activeSubOrderInvoicingDate":"2026-05-04T09:42:00Z","systemValidated":true,"hasProformaInvoice":true,"periodic":true}]'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42
# Payload
[
{
"id": 42,
"contactId": 42,
"contactName": "string",
"orderId": "string",
"name": "string",
"status": "OFFERED",
"statusLastChangedDate": "string",
"description": "string",
"parentOrderId": 42,
"department": 42,
"vatRateId": 42,
"currencyId": 42,
"requestedPaymentTerms": "string",
"orderValidity": "string",
"minimumAmountToInvoice": "string",
"ourContactId": 42,
"yourContactId": 42,
"periodicityConfiguration": {
"id": 42,
"startDate": "string",
"endDate": "string",
"periodicityType": "NONE",
"dayOfWeek": "MONDAY",
"invoicingTime": "FIRST_DAY",
"orderId": 42
},
"isTimesheetsEnabled": true,
"timesheetsAccountId": 42,
"fixedAmount": "string",
"timesheetsVatRateId": 42,
"timesheetsVat": "string",
"timesheetsTotalPrice": "string",
"timesheetsDescription": "string",
"timesheetsLongDescription": "string",
"timesheetsDiscount": 42.0,
"timesheetsDepartmentId": 42,
"timesheetsOfficeId": 42,
"isExpensesEnabled": true,
"isDisbursementFeeEnabled": true,
"disbursementDepartmentId": 42,
"expensesDepartmentId": 42,
"office": 42,
"disbursementOfficeId": 42,
"expensesOfficeId": 42,
"includedArticles": [
{
"id": 42,
"tempId": 42,
"orderId": 42,
"articleId": 42,
"description": "string",
"longDescription": "string",
"price": "string",
"amount": "string",
"discount": "string",
"totalNet": "string",
"vatRateId": 42,
"vat": "string",
"totalPrice": "string",
"status": "SHIPPED",
"shipments": [
{
"id": 42,
"shipmentDate": "string",
"articleId": 42,
"quantity": "string",
"currencyCode": "string",
"totalCost": 42.0,
"generatedStockMovementId": 42,
"articleName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"articleIdSku": "string",
"orderArticleId": 42,
"salesInvoiceLineId": 42
}
],
"articleName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"departmentId": 42,
"officeId": 42
}
],
"orderLines": [
{
"id": 42,
"tempId": 42,
"orderId": 42,
"description": "string",
"longDescription": "string",
"saleAccountId": 42,
"price": "string",
"amount": "string",
"discount": "string",
"totalNet": "string",
"vatRateId": 42,
"vat": "string",
"totalPrice": "string",
"saleAccountName": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"departmentId": 42,
"officeId": 42
}
],
"orderElementsLayoutLines": [
{
"id": 42,
"name": "string",
"parentId": 42,
"position": 42,
"children": [
{}
],
"lineType": "ARTICLE",
"orderElementId": 42
}
],
"warnings": "string",
"organizationId": 42,
"isInvoiceGenerated": true,
"hasOnlyPrepaymentsInvoices": true,
"yourReference": "string",
"clientAddressId": 42,
"address": {
"id": 42,
"name": "string",
"line1": "string",
"line2": "string",
"city": "string",
"region": {
"id": 42,
"name": "string",
"code": "string",
"taxMode": "ANNUALLY"
},
"countryCode2": "string",
"postCode": "string",
"toTheAttentionOf": "string",
"position": 42,
"houseNumber": "string",
"countryId": 42,
"service": "string",
"readOnly": true
},
"clientName": "string",
"statusHistories": [
{
"id": 42,
"status": "OFFERED",
"date": "string"
}
],
"tasks": [
{
"id": 42,
"name": "string",
"rate": 42.0,
"parentId": 42,
"position": 42,
"children": [
{}
],
"archived": true
}
],
"clientHasVatType": true,
"validated": true,
"paymentAccountId": 42,
"validatorUserIdsSize": 42,
"validatorUserIds": [
42
],
"realValidated": true,
"activeSubOrderId": 42,
"activeSubOrderInvoicingDate": "2026-05-04T09:42:00Z",
"systemValidated": true,
"hasProformaInvoice": true,
"periodic": true
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"freshRow": {},
"freshData": {},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}