Create or update a supplier address.
PUT
/suppliers/{supplierID}/addresses/{addressID}
200Description
If an object with the same ID already exists, it will be overwritten.
Roles
At least one of the roles below is required to access this endpoint.
FullAccessSupplierAddressAdmin
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
supplierID | Required | string | ID of the supplier. | --- |
addressID | Required | string | ID of the address. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
CompanyName | string | --- | 100 characters | --- | ||
FirstName | string | --- | 100 characters | --- | ||
LastName | string | --- | 100 characters | --- | ||
Street1 | Required | string | --- | 100 characters | --- | |
Street2 | string | --- | 100 characters | --- | ||
City | Required | string | --- | 100 characters | --- | |
State | Required | string | --- | 100 characters | --- | |
Zip | Required | string | --- | 100 characters | --- | |
Country | Required | string | --- | 2 characters | --- | |
Phone | string | --- | 100 characters | --- | ||
AddressName | string | --- | 100 characters | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
DateCreated | Read Only | string | date-time | --- | --- | |
CompanyName | string | --- | 100 characters | --- | ||
FirstName | string | --- | 100 characters | --- | ||
LastName | string | --- | 100 characters | --- | ||
Street1 | string | --- | 100 characters | --- | ||
Street2 | string | --- | 100 characters | --- | ||
City | string | --- | 100 characters | --- | ||
State | string | --- | 100 characters | --- | ||
Zip | string | --- | 100 characters | --- | ||
Country | string | --- | 2 characters | --- | ||
Phone | string | --- | 100 characters | --- | ||
AddressName | string | --- | 100 characters | --- | ||
xp | object | --- | --- | --- |