Update Supplier
POST/api/Suppliers/UpdateSupplier
Tier: Public — stable, supported for third-party integration.
Updates a Supplier. Full-replace semantics — every field on
Suppliers.UpdateSupplierDto is assigned unconditionally, so omitted optional
fields (ExternalRef, contact fields, DefaultLeadTimeDays) clear the
existing values rather than leaving them unchanged. Name is required.
Request
Responses
- 200
- 400
Returns the updated Suppliers.SupplierDetailDto.
Unknown Id (NotFound), or validation failure (empty/duplicate Name, duplicate ExternalRef, or a negative DefaultLeadTimeDays).