Recalculations
Manage pick-pack recalculations
Authorizations
Path parameters
tenantstring · min: 3 · max: 16RequiredPattern:
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Body
orderIdsstring[]OptionalExample:
The order identifiers requiring recalculation. This attribute is optional. In case the job type is AUTOMATIC
the orders for recalculation will be selected automatically based on last packing events.
123
jobTypestring · enumRequiredExample:
The recalculation job types. Possible values:
MANUAL
- it will recalculate all orders provided in the orderIds attributeAUTOMATIC
- it will find orders that need recalculation and trigger recalculation for them
MANUAL
Possible values: Responses
200
Job creation response
application/json
400
Request was syntactically incorrect. Details will be provided in the response payload.
application/json
401
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
application/json
403
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
application/json
409
Conflict
application/json
500
Internal Service Error occurred.
application/json
post
POST /pick-pack/{tenant}/jobs/recalculations HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"jobType": "MANUAL",
"orderIds": [
"03DV9N3R",
"5XS34VOB",
"JGPZWWLA",
"JGPZWWLA",
"09FFWHA2",
"1B70WHY7"
]
}
{
"jobId": "text"
}
Authorizations
Path parameters
tenantstring · min: 3 · max: 16RequiredPattern:
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
jobIdstring · min: 3 · max: 16RequiredPattern:
jobId of requested order recalculation job
[a-zA-Z0-9_-]+
Responses
200
Recalculation job response
application/json
401
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
application/json
403
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
application/json
404
Resource has not been found.
application/json
500
Internal Service Error occurred.
application/json
get
GET /pick-pack/{tenant}/jobs/recalculations/{jobId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123",
"jobType": "MANUAL",
"orders": [
{
"orderId": "123",
"message": "Order recalculated successfully",
"jobOrderStatus": "SUCCESS"
}
],
"jobStatus": "SUCCESS",
"startedAt": "2021-03-04T13:45:00.883Z",
"finishedAt": "2021-03-04T13:45:00.883Z"
}
Was this helpful?