Skip to content

Call by unique identifier

Request

Call by: uniqueIdentifier — your internal reference from POST /manufactured-products.

Partial update with the same body and rules as Call by id. uniqueIdentifier must not be included in the body.

If the product belongs to another client → 404 (ManufacturedProductNotFoundByUniqueIdentifier).

Path
uniqueIdentifierstring, non-emptyrequired

Your resource uniqueIdentifier (same value as on the corresponding POST endpoint). Any non-empty URL-encoded string is accepted; it is not validated as a UUID.

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/by-unique-identifier/{uniqueIdentifier}' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

Updated manufactured product record (full DTO).

Bodyapplication/json
property name*anyadditional property
Response
{}