This page was automatically generated from tracezilla’s Swagger API documentation 2026-01-26
POST /bulk-adjust-quantities
Adjust quantity on hand on all lots on a specific location 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
72
73
74
75
76
77
78
{
"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"
},
"partner_location_number": {
"description": "Number of location (use instead of *partner_location_id*).",
"format": "int32",
"example": 27
},
"line_text": {
"description": "Text to be put on the adjustment lines.",
"type": "string",
"format": "string",
"example": "end of month stocktaking"
},
"target_quantities": {
"description": "The target on hand quantities",
"type": "array",
"items": {
"properties": {
"sku_code": {
"description": "Sku code",
"type": "string",
"format": "string",
"example": "ABC1001"
},
"batch_number": {
"description": "Batch number as registered on lot",
"type": "string",
"format": "string",
"example": "123xyz"
},
"quantity_on_hand": {
"description": "The quantity on hand end of day.",
"format": "int32",
"example": 20
}
},
"type": "object"
}
}
},
"type": "object"
}
Responses
204
Adjustment was succesfull
406
not acceptable
500
Internal server error