Skip to content

Call by id

Request

Call by: id — the Fairly Made manufactured product id (UUID v4) from the 201 response.

Updates a manufactured product that belongs to your organisation (registry scope from the access token).

Partial update: only include fields you want to change. Omitted fields stay as they are. uniqueIdentifier must not be included (sending it returns 400).

Lists such as steps, purchasedItems, usedProducts, and usedComponents are replaced in full when sent. Validation rules are checked against the resulting resource after your changes are applied.

If the product exists but belongs to another client → 403 (ManufacturedProductOwnershipViolation).

Path
idstring, (uuid)required

Fairly Made resource id (UUID v4). Use the id from the 201 response of the corresponding POST endpoint.

Bodyapplication/jsonrequired
ownerKindstring or null
Value:"SUPPLIER"
ownerIdstring or null, (uuid)

System UUID of the supplier owner. Provide exactly one of ownerId or ownerUniqueIdentifier when setting an owner.

ownerUniqueIdentifierstring or null

Client uniqueIdentifier of the supplier owner. Requires ownerKind = SUPPLIER. Mutually exclusive with ownerId.

addressobject or null(Address)

Postal address of an entity.

categorystring

Product category; same allowed values as POST /manufactured-products.

stepsArray of objects(ProductStep)
purchasedItemsArray of objects(ManufacturedProductPatchPurchasedItem)
usedProductsArray of objects(UsedProduct)
usedComponentsArray of objects(UsedComponent)
curl -i -X PATCH \
  'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/manufactured-products/{id}' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

Updated manufactured product record (full DTO).

Bodyapplication/json
property name*anyadditional property
Response
{}