Skip to main content

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 REQUIRED

The id of the supplier to update.

Request Body REQUIRED

The supplier data to update.

Name string

The name of the supplier.

Address1 string

The first address line of the supplier.

Address2 string

The second address line of the supplier.

Address3 string

The third address line of the supplier.

ZipCode string

The zip code of the supplier.

City string

The city of the supplier.

Country string

The country of the supplier.

ContactPerson string

The contact person of the supplier.

Phone1 string

The primary phone number of the supplier.

Phone2 string

The secondary phone number of the supplier.

Email string

The email address of the supplier.

ExternalId string

External Id of the supplier.

Responses
200

The updated supplier.

Schema OPTIONAL
Resource object OPTIONAL

A product supplier.

SupplierId int32 OPTIONAL

The unique identifier for the supplier.

Name string OPTIONAL

The name of the supplier.

Address1 string OPTIONAL

The first address line of the supplier.

Address2 string OPTIONAL

The second address line of the supplier.

Address3 string OPTIONAL

The third address line of the supplier.

ZipCode string OPTIONAL

The zip code of the supplier.

City string OPTIONAL

The city of the supplier.

Country string OPTIONAL

The country of the supplier.

ContactPerson string OPTIONAL

The contact person of the supplier.

Phone1 string OPTIONAL

The primary phone number of the supplier.

Phone2 string OPTIONAL

The secondary phone number of the supplier.

Email string OPTIONAL

The email address of the supplier.

ExternalId string OPTIONAL

External Id of the supplier.

Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.