Use this endpoint to create the product that your manufacturer has sold to you. This is different from your own brand product data, which you send via POST /brand-products.
Traceability collection: to link purchased inputs for Fairly Made supplier data collection, reference them via purchasedItems (each purchased item must include a purchaseOrder on POST /purchased-items). Links made only through usedComponents or usedProducts are not taken into account for that analysis.
System UUID of the manufacturing supplier. Provide exactly one of ownerId or ownerUniqueIdentifier (with ownerKind = SUPPLIER), or use address instead — not both owner and address.
Client uniqueIdentifier of the manufacturing supplier. Requires ownerKind = SUPPLIER. Mutually exclusive with ownerId and with address.
Product category taxonomy. Values.
Purchased items used in this product. If the purchased item is a component, usageCategory is mandatory. Only applicable when the entity is linked with an owner (ownerKind with ownerId or ownerUniqueIdentifier); not used when providing a processing step address. Sum of purchased items and used items usagePercentage must equal 100. For Fairly Made traceability / supplier data collection, use purchasedItems (each related purchased item must have a purchaseOrder). Links made only through usedComponents or usedProducts are not taken into account for that analysis.
Other manufactured products used as inputs. Counts toward the same 100% total as purchasedItems and usedComponents (sum of all usagePercentage must equal 100). Not taken into account for Fairly Made supplier data collection — use purchasedItems instead.
- Mock serverhttps://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/manufactured-products
- Productionhttps://api.fairlymade.com/v3/manufactured-products
- Sandboxhttps://api.sandbox.fairlymade.com/v3/manufactured-products
Creation of a product with a supplier as owner. Owner is specified via ownerKind and ownerId; no processing step address.
curl -i -X POST \
https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/manufactured-products \
-H 'Content-Type: application/json' \
-d '{
"uniqueIdentifier": "FM-PRODUCT-SHIRT-0001",
"ownerKind": "SUPPLIER",
"ownerId": "f0b5fb65-f065-432e-9e96-c52692931626",
"category": "SHIRTS"
}'{ "manufacturedProductId": "06dee5c1-8885-4d10-bf9a-14a0957b1487" }