POST /v1/documents/{document_number}
Update a document
Parameters
+ document_number (string, required) - document identifier
Request
application/json
TS-Apikey: api_key
{
"data":{
"document_number":"DOC01",
"description":"Doklad moj pekny",
"batch_settings":{
"allowed_types":[
"R",
"V"
],
"allowed_directions":[
"I",
"O"
]
},
{
"item_number":1,
"product_code":"MUT",
"lot":"55",
"amount_ordered":1.5E1,
"amount_delivered":0.55,
"wplace":[
"a1",
"b5"
],
"direction":"I"
},
{
"item_number":2,
"product_code":"MUT",
"lot":"",
"amount_ordered":3000.0,
"amount_delivered":0.0,
"wplace":[
"a1",
"b5"
],
"direction":"I"
},
{
"item_number":1,
"product_code":"MUT",
"lot":"",
"amount_ordered":8.0,
"amount_delivered":8.0,
"wplace":[
"a1",
"b5"
],
"direction":"O"
}
Response
application/json
HTTP 200
{
}

