Product Supplier DELETE

URI

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

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

Description

You can use this message to remove Supplier from a Product.Using an ID Set, you can specify individual suppliers to be removed. This is a multi-resource endpoint; the request body provided will be applied to the resource you specify in the URI, and the returned HTTP status code will depend on the individual status codes per-resource as reported in the response body. For more details see our documentation on HTTP status codes.

Example 1

Remove supplier 207 from the product with ID 1007.

Request URI

/product/1007/supplier

Request body

[
	207
]

Response

{
	"response": {
		"resourceErrors": {
		},
		"resourceStatuses": {
			"207": 200
		}
	}
}

Example 2

Remove supplier 205, 206, 207 from the product with ID 1007.

Request URI

/product/1007/supplier

Request body

[
	205,
	206,
	207
]

Response

{
	"response": {
		"resourceErrors": {
		},
		"resourceStatuses": {
			"205": 200,
			"206": 200,
			"207": 200
		}
	}
}