Update a supplier by its ID. Note: For system suppliers, only the supplier number & preference can be updated.
Security
BearerAuth
PATCH
curl -i -X PATCH \
'https://api.luminovo.com/suppliers/{id}' \
-H 'Accept: application/api.luminovo.supplier-v1+json' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"supplier_number": "string",
"supplier_part_type": null,
"supplier_type": null,
"origin": null,
"supplier_preference": null
}'Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "alternative_names": [ … ], "supplier_number": "string", "manually_added": true, "supplier_part_type": "OffTheShelf", "supplier_type": "Distributor", "origin": "System" } }