Call by: uniqueIdentifier — your internal reference from POST /purchased-items.
Partial update with the same body and rules as Call by id. uniqueIdentifier, buyerKind, and buyer/seller identity fields must not be included in the body.
If the item belongs to another client → 404 (PurchasedItemNotFoundByUniqueIdentifier).
System UUID of the purchased entity. Provide exactly one of itemId or itemUniqueIdentifier.
Client uniqueIdentifier of the purchased entity. Mutually exclusive with itemId.
- Mock serverhttps://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/purchased-items/by-unique-identifier/{uniqueIdentifier}
- Productionhttps://api.fairlymade.com/v3/purchased-items/by-unique-identifier/{uniqueIdentifier}
- Sandboxhttps://api.sandbox.fairlymade.com/v3/purchased-items/by-unique-identifier/{uniqueIdentifier}
curl -i -X PATCH \
'https://doc.api.fairlymade.com/_mock/swagger-fairlymadeapi-v3/purchased-items/by-unique-identifier/{uniqueIdentifier}' \
-H 'Content-Type: application/json' \
-d '{
"itemId": "f11b669d-7201-4c21-88af-d85092f0c005",
"itemUniqueIdentifier": "string",
"purchaseOrder": "string",
"purchaseOrderDate": "2019-08-24",
"transports": [
{
"name": "BARGE",
"usagePercentage": 0
}
],
"purchasedQuantity": {
"value": 0,
"unit": "GRAMS"
},
"certifications": [
{
"certificationName": "string"
}
]
}'Response
{}