This page was automatically generated from tracezilla’s Swagger API documentation 2026-07-17
POST /remove-all-adjustments
Adjust quantity on hand on multiple as of a specific date
Description
Adjust quantity on hand on multiple lots as of a specific date
Request body
Description
Data to store.
Required
This parameter is required.
Request body JSON schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"properties": {
"adjustment_date": {
"format": "date",
"example": "2021-01-01"
},
"ignore_missing_skus": {
"description": "Setting this to true will ignore skus that does not exist in the system.",
"format": "bool",
"default": false,
"example": false
},
"allow_increment": {
"description": "Setting this to true will allow adjustments that raises quantity on hand.",
"format": "bool",
"default": true,
"example": false
},
"reason_for_adjustment": {
"description": "Reason for the adjustment.",
"type": "string",
"format": "string",
"enum": [
"stocktaking",
"lost",
"product_development",
"analysis",
"retail",
"taken_out"
],
"example": "stocktaking"
},
"partner_location_id": {
"description": "Id of location.",
"type": "string",
"format": "uuid",
"example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
},
"line_text": {
"description": "Text to be put on the adjustment lines.",
"type": "string",
"format": "string",
"example": "end of month stocktaking"
},
"adjustments": {
"description": "Each property represents a uuid of a lot, containing an object with the current selection",
"type": "array",
"items": {
"properties": {
"sku_code": {
"description": "Sku code",
"format": "string",
"example": "1001"
},
"trace_key": {
"description": "Trace key (batch or lot number)",
"format": "string",
"example": "123xyz"
},
"quantity_on_hand": {
"description": "The quantity on hand end of day.",
"format": "int32",
"example": 20
}
},
"type": "object"
}
}
},
"type": "object"
}
Responses
201
Successful operation. The adjustment line that was created/updated.
403
Unauthorized request
406
not acceptable
500
Internal server error