# Declaring supplier with create product endpoint

**URL:** <https://forums.ordoro.com/t/declaring-supplier-with-create-product-endpoint/1002>\
**Category:** Uncategorized\
**Created:** [November 21, 2022, 7:27pm UTC](https://forums.ordoro.com/t/declaring-supplier-with-create-product-endpoint/1002 "2022-11-21T19:27:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enigma32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/enigma32/32/144_2.png) [@enigma32](https://forums.ordoro.com/u/enigma32)\
**Post date:** [November 21, 2022, 7:27pm UTC](https://forums.ordoro.com/t/declaring-supplier-with-create-product-endpoint/1002/1 "2022-11-21T19:27:43Z")

</div>

Is there an undocumented parameter to set the supplier for a new product? The documentation shows the response gives assigned suppliers, but there is no documented parameter for declaring it in the first place.

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [November 23, 2022, 9:05pm UTC](https://forums.ordoro.com/t/declaring-supplier-with-create-product-endpoint/1002/2 "2022-11-23T21:05:58Z")

</div>

You’ll want to use the product and supplier id and associate them using this endpoint:

[https://docs.ordoro.com/#operation/ProductSupplierBySkuAndSupplierId\_PUT](https://docs.ordoro.com/#operation/ProductSupplierBySkuAndSupplierId_PUT)

If you want to set the supplier as the default supplier for that product you’ll want to use this endpoint:

[https://docs.ordoro.com/#operation/ProductDefaultSupplierBySkuAndSupplierId\_POST](https://docs.ordoro.com/#operation/ProductDefaultSupplierBySkuAndSupplierId_POST)

At this time, there is no way to create a product with a supplier already assigned using the API.
