---
title: "Add a supplier to an Inventory Product"
method: POST
path: "/inventory/products/{productId}/suppliers"
tags: ["InventoryProducts"]
---

# Add a supplier to an Inventory Product

`POST /inventory/products/{productId}/suppliers`

Associates a supplier with a product, capturing the supplier's
SKU, default order quantity, and unit price. Multiple suppliers
can be associated with the same product.

## Request body

- object
  - `supplier_id` string, uuid, required — `Supplier` to attach to the product. Suppliers belong to the same inventory brand as the product; cross-brand links are rejected with `422`. A product can be linked to multiple suppliers, each with their own pricing.
  - `supplier_product_id` string — The supplier's ID of the product being ordered (e.g. their SKU).
  - `order_quantity` integer — The default quantity of the product to order from this supplier.
  - `unit_price` integer — The unit price of this item in the lowest denomination for the product's currency.
  - `currency` string — The currency of the supplier product.

## Response `201`

A single product-supplier association.

- object
  - `data` SupplierProduct, required
    - `id` string, uuid, required — The ID of the product-supplier relationship.
    - `product_id` string, uuid, required — The ID of the product.
    - `product_name` string — The name of the product.
    - `supplier_id` string, uuid, required — The ID of the supplier.
    - `supplier_name` string — The name of the supplier.
    - `supplier_product_id` string, uuid, required — The ID of the supplier product.
    - `order_quantity` integer, required — The default quantity of the product to order from this supplier.
    - `unit_price` integer, required — The unit price of this item in the lowest denomination for the product's currency.
    - `currency` string, required — The currency of the product.
    - `organisation_id` string, uuid, required — The ID of the organisation this product-supplier record belongs to.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
