Create or update a supplier address

PUT
/suppliers/{supplierID}/addresses/{addressID}

Description

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

FullAccess
SupplierAddressAdmin

Parameters

NameTypeDescriptionDefault (ordered by priority)
supplierIDstringID of the supplier.---
addressIDstringID of the address.---

Request Body

PropertyTypeFormatMax Length
IDstring------
CompanyNamestring---100 characters
FirstNamestring---100 characters
LastNamestring---100 characters
Street1
Required
string---100 characters
Street2string---100 characters
City
Required
string---100 characters
State
Required
string---100 characters
Zip
Required
string---100 characters
Country
Required
string---2 characters
Phonestring---100 characters
AddressNamestring---100 characters
xpobject------

Response Body

PropertyTypeFormatMax Length
IDstring------
DateCreated
Read Only
stringdate-time---
CompanyNamestring---100 characters
FirstNamestring---100 characters
LastNamestring---100 characters
Street1string---100 characters
Street2string---100 characters
Citystring---100 characters
Statestring---100 characters
Zipstring---100 characters
Countrystring---2 characters
Phonestring---100 characters
AddressNamestring---100 characters
xpobject------