Drop-Ship Note POST

URI

https://{DATACENTER}.brightpearlconnect.com/public-api/{ACCOUNT}
/warehouse-service/order/{ORDER-ID}/goods-note/drop-ship

Refer to our documentation on URI syntax for more information on how to construct URIs.

Description

Add a new drop-ship note to an existing sales order describing which products and which quantities of those products will be fulfilled by which supplier.

For each supplier that is involved in a drop-ship note, you will need to raise at least one purchase order with that supplier, covering the stock that is to be drop-shipped.

Example 1

Create a drop-ship note indicating that the supplier with ID 8 will send one of product 1045 to the customer as part of sales order 756. The ID assigned to the new drop-ship note is 84.

Request URI

/order/756/goods-note/drop-ship

Request body

{
	"suppliers": [
		{
			"supplierId": 8,
			"purchaseOrderId": 76,
			"products": [
				{
					"productId": 1045,
					"purchaseOrderRowId": 391,
					"salesOrderRowId": 1475,
					"quantity": 1,
					"productValue": {
						"currency": "GBP",
						"value": 100.00
					}
				}
			]
		}
	]
}

Response

{
	"response": [
		84
	]
}

Example 2

Create two drop-ship notes against sales order 867, recording that stock will be drop-shipped from two different suppliers (with IDs 4 and 12).

Request URI

/order/867/goods-note/drop-ship

Request body

{
	"suppliers": [
		{
			"supplierId": 4,
			"purchaseOrderId": 500,
			"products": [
				{
					"productId": 9900,
					"orderRowId": 23,
					"quantity": 12,
					"productValue": {
						"currency": "GBP",
						"value": "99.99"
					}
				},
				{
					"productId": 2222,
					"orderRowId": 44,
					"quantity": 7,
					"productValue": {
						"currency": "GBP",
						"value": "160.82"
					}
				}
			]
		},
		{
			"supplierId": 12,
			"purchaseOrderId": 2001,
			"products": [
				{
					"productId": 1099,
					"orderRowId": 66,
					"quantity": 1,
					"productValue": {
						"currency": "GBP",
						"value": 199.99
					}
				}
			]
		}
	]
}

Response

{
	"response": [
		8,
		9
	]
}