Bulk Recount Physical Stock
POST/partners/v1/spare-parts/physical-recount/bulk
Starter | Premium | Ultimate |
---|---|---|
❌️ | ✔️ | ✔️ |
Recount physical stock of all spare parts (e.g. inventory) at once. Stock amount will replaced by the given quantity. If multiple spare parts exists with the same item code, then the stock will be replaced on every spare parts with that item code.
⚠️ The request is processed in background. It can takes up to several minutes to see the change if there is a lot of changes.
The spare part identifier can be provided in two way:
- as a simple string or integer
- or a complex typed identifier
And accept two format:
- the item code
- the native id
For instance, that format:
[
{
"id": "MW-417304e0-2ff0-410d-a7cd-de20439140c8"
}
]
is equivalent to:
[
{
"id": {
"type": "itemCode",
"value": "MW-417304e0-2ff0-410d-a7cd-de20439140c8"
}
}
]
Article code is automatically generated when a spare part is referenced on the CMMS. You can replace it by your own identifier in the UI or by using the API to update spare parts attributes.
⚠️ A maximum of 10.000 stock changes can be processed in a single request. You need to split in several requests if you have more changes.
Request
Responses
- 202
- 400
- 401
- 403
Request accepted (e.g. all changes will be processed as soon as possible)
Request contains invalid data or does not have all required data
Missing or invalid Api Key (e.g. revoked or non-existent)
Subscription plan does not allow to use that API