Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/stock-movement-line/batch
curl \
--request POST 'https://wyzio.app/api-v1/stock-movement-line/batch' \
--header "Content-Type: application/json" \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42" \
--data '[{"id":42,"date":"string","movementDirection":"IN","type":"MANUAL","articleId":42,"ean":"string","quantity":"string","currencyId":42,"cost":"string","comment":"string","quantityLeft":42.0,"organizationId":42,"departmentId":42,"contactId":42,"orderId":42,"officeId":42}]'
Request examples
# Headers
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42
# Payload
[
{
"id": 42,
"date": "string",
"movementDirection": "IN",
"type": "MANUAL",
"articleId": 42,
"ean": "string",
"quantity": "string",
"currencyId": 42,
"cost": "string",
"comment": "string",
"quantityLeft": 42.0,
"organizationId": 42,
"departmentId": 42,
"contactId": 42,
"orderId": 42,
"officeId": 42
}
]
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
}
]
}