Request Type:
POST
API Endpoint:
<url>/api/orders/:order_id/assign_inventory_to_order
Mandatory Headers Properties:
Authorization (type: string): the valid access token from the authentication.
Mandatory Query parameters:
order_id (type: string): The target order number for fulfillment.
Sample Request:
Item_id (type: string): The order item id to be fulfilled.
inventory_id (type: string): The Inventory item id to be fulfilled.
{
"options":
{
"item_id": "22200019619-1",
"inventory_id": "I3908"
}
}
Response Codes:
200 - success
400 - Item does not exist in order, Item does not exist in Inventory, Item is already fulfilled, Invalid Item fulfillment status (Must be status 3 received).
503 – service unavailable.