# Support of product suppliers

URL: https://shoptet.dev/news/api/support-of-product-suppliers

September 2, 2020 · One min read
Pavel Husa

We have introduced support for product suppliers. This affects several endpoints.

There is a new endpoint [List of suppliers](https://api.docs.shoptet.com/shoptet-api/openapi/suppliers/getlistofsuppliers) , which provides a complete list of suppliers. Each supplier contains `guid` and `name` fields.

Endpoint [List of products](https://api.docs.shoptet.com/shoptet-api/openapi/products/getlistofproducts) contains a new object `supplier` containing supplier's `guid` and `name` . In addition, there is a new filter (parameter) `?supplierGuid=` which allows to select only products from the given supplier.

Endpoint [Product detail](https://api.docs.shoptet.com/shoptet-api/openapi/products/getproductdetail) now contains a `supplier` object with both `guid` and `name` .

Endpoint [Order detail](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getorderdetail) now contains field `data.order.items[].supplierName` ( `guid` is not available in this case).

Endpoint `POST`[Order insertion](https://api.docs.shoptet.com/shoptet-api/openapi/orders/createorder) now supports also field `data.items[].supplierName` in the request body and the order items is created with the given supplier name. Field `supplierName` is also returned in the response upon successful order insertion.

**Tags:**
- [API](/news/tags/api/)
