Product Supplier GET

URI

https://{DATACENTER}.brightpearl.com/public-api/{ACCOUNT}
/product-service/product/{ID-SET}/supplier

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

Description

You can use this message to determine which suppliers, if any, are currently associated to a product. This is particularly useful information for any inventory planning or reporting apps. As per the example below, you will be returned the contact id of the supplier(s), and you can attain further details about that supplier using our contact service.

Example 1

Fetch all supplier IDs for the product with ID 1007.

Request URI

/product/1007/supplier

Response

{
	"response": {
		"1007": [
			204,
			201,
			202,
			213,
			210
		]
	}
}

Example 2

Fetch all supplier ids for products with IDs 1007 and 1008.

Request URI

/product/1007,1008/supplier

Response

{
	"response": {
		"1007": [
			204,
			201,
			202,
			213,
			210
		],
		"1008": [
			211
		]
	}
}