Create a new supplier address

POST
/suppliers/{supplierID}/addresses

Description

If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.

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.---

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------