Assignees
Manage pick-pack assignees
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Order's unique identifier.
If set to true, the new assignee will replace the old one. If set to false, a bad request will be returned if the order already has an assignee.
true
Identifier of an assignment
123
Code of a site
main
First name of assignee
John
Last name of assignee
Smith
Event creation response
Request was syntactically incorrect. Details will be provided in the response payload.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Resource has not been found.
Conflict
Internal Service Error occurred.
POST /pick-pack/{tenant}/orders/{orderId}/assignees HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"id": "123",
"firstName": "John",
"lastName": "Smith",
"siteCode": "main"
}
{
"message": "Success",
"code": 200
}
Your Emporix tenant's name.
Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Order's unique identifier.
assignee which will be removed from order
[a-zA-Z0-9_-]+
The request has succeeded.
Given request is unauthorized - the authorization token is invalid or has expired. Details will be provided in the response payload.
Given authorization scopes are not sufficient and do not match scopes required by the endpoint.
Internal Service Error occurred.
DELETE /pick-pack/{tenant}/orders/{orderId}/assignees/{assigneeId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Was this helpful?