Split Purchase Order - Sellercloud API Docs

Overview

This endpoint can be used to split a purchase order.

In order to consume the endpoint you must:

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed to the call.

Endpoint

https://{your_server_id}.api.sellercloud.com/rest/api/PurchaseOrders/{id}/split

Request

Method Type: HttpPost

Authorization: Use Bearer Token + token received from token authentication

Header info: Content-Type: application/json

Request Body

Parameter Data Type Description Required
PoItemsToSplit List List of PO items to split Yes
PoItem.ID Integer The ID of the PO item to split Yes
PoItem.QtyToSplit Integer Quantity to split for this PO item.
The field is required when the PO is not in case qty mode.
Should not be provided when the PO is in case qty mode.
No
PoItem.QtyReceivedToSplit Integer Qty received to split for this PO item.
Should not be provided when the PO is in case qty mode.
It cannot be set when the receiving warehouse for the item is bin-enabled.
No
PoItem.CaseQtyToSplit Integer Case qty to split for this PO item.
The field is required when the PO is in case qty mode.
Should not be provided when the PO is not in case qty mode.
No
PoItem.CaseQtyReceivedToSplit Integer Case qty received to split for this po item.
Should not be provided when the PO is not in case qty mode.
It cannot be set when the receiving warehouse for the item is bin-enabled.
No

Response

Response Body

{
  "NewPoID": "<po id of the newly created po>"
}