Skip to content

Call by unique identifier

Request

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

Partial update with the same body and rules as Call by id. If the material belongs to another client → 404 (ManufacturedMaterialNotFoundByUniqueIdentifier).

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.

rawMaterialNamestring(RawMaterialName)

Raw material name taxonomy (from official material–attribute pairs; each name must be combined with a valid attribute for that material). Use the Fairly Made Material Selector spreadsheet to see which attributes are allowed for each name (Step 1 = material, Step 2 = allowed attributes), then align with the enums here. Fairly Made Material Selector.

Enum:"ABACÁ""ACETAL""ACETATE""ACRYLIC""ACRYLIC RESIN""ACRYLONITRILE BUTADIENE RUBBER""ACRYLONITRILE BUTADIENE STYRENE""ALCANTARA""ALGINATE""ALLIGATOR LEATHER"
rawMaterialAttributestring(RawMaterialAttribute)

Raw material attribute taxonomy. Values are only valid in combination with a given raw material name; each material name accepts only the attributes defined in the official material–attribute pairs. To choose the correct attribute for a given material name, use the Fairly Made Material Selector (Google Sheets): Step 1 — select the material; Step 2 — lists the attributes you may use with that name. Then send the exact enum value from this schema. Fairly Made Material Selector.

Enum:"BIO_BASED""CHROME_FREE""CONVENTIONAL""FARMED""MIXED_TANNING""ORGANIC""RECYCLED""REGENERATIVE""VEGETABLE""WILD"
stepsArray of objects(MaterialStep)
purchasedItemsArray of objects(MaterialPurchasedItem)
usedMaterialsArray of objects(UsedMaterial)
curl -i -X PATCH \
  'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/manufactured-materials/by-unique-identifier/{uniqueIdentifier}' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

Updated manufactured material record (full DTO).

Bodyapplication/json
property name*anyadditional property
Response
{}