Update supplier
Updates a supplier.
Leaving out a property will ensure no changes are made to that property.
Collection properties will delete and/or add as necessary to match the supplied data.
Path Parameters |
---|
id int32 — REQUIREDThe id of the supplier to update. |
Request Body — REQUIRED The supplier data to update. |
---|
Name stringThe name of the supplier. |
Address1 stringThe first address line of the supplier. |
Address2 stringThe second address line of the supplier. |
Address3 stringThe third address line of the supplier. |
ZipCode stringThe zip code of the supplier. |
City stringThe city of the supplier. |
Country stringThe country of the supplier. |
ContactPerson stringThe contact person of the supplier. |
Phone1 stringThe primary phone number of the supplier. |
Phone2 stringThe secondary phone number of the supplier. |
Email stringThe email address of the supplier. |
ExternalId stringExternal Id of the supplier. |
Responses | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 The updated supplier.
| |||||||||||||||||
400 Bad request.
|