Navigation: Reference Manual > Vendors > End Points >

UpdateVendorAddress

Send comments on this topic.

  

 

 

Description

Updates a vendor address record.  This call will update an existing vendor address record.

 

Rules

1.If the vendor address does not exist it will be added.  If the vendor address exist it will be updated.

2.The unique address is identified by 'Primary', 'Secondary', or 'Other' (SITEID is required when 'Other' is used)

3.If "Required" field fails validation Error should be displayed and record IS NOT saved;

4.If "Optional" field fails validation Warning should be displayed and record IS saved, but the field value is NOT.

 

Parameters

 

#

API Field Name

PRISM Field (Max size)

Req?

Comment

1

UserID

Authentication

Y

PRISM user account with security actions to use API

2

Password

Authentication

Y

Account Password

3

PRISMKey

Authentication

Y

Provided by PRISM Professionals

4

TaxID

TaxID (20)

Y

 

5

AddressType

Address Type

Y

'Primary' | 'Secondary' | 'Other'

6

Address 1

Address 1 (100)

Y

 

7

Address 2

Address 2

N

 

8

District

District

N

 

9

County

County

N

Must match a configured PRISM value

10

City

Doing Business As

Y

 

11

State

State (2) Abbreviated State

Y

Must match a configured PRISM value

12

Zip

Zip

Y

 

13

Country

Country

N

Empty USA is default.

See Country Codes below if not USA

14

ContactPersonFirstName

Contact Person First Name

N

 

15

ContactPersonLastName

Contact Person Last Name

N

 

16

ContactPersonEmail

Contact Person Email

N

 

17

ContactPerson1Phone

Contact Person 1 Phone

N

 

18

SiteID

Site ID

N | Y

Required if using 'Other' AddressType. ID must uniquely identify the address

 

 

 

Return Values

 

#

Name

Type

Comment

1

OperationStatus

Boolean

 

2

Message

String

 

3

ID

String

PRISM Internal Vendor GUID

 

Country Codes

 

The United States (USA) is the default country code when adding addresses.  There is no need to use USA as the country code.  However, when using Canadian addresses, the country code “CAN”.  Furthermore use the state code (column1) below for the State field in PRISM.

 

 


 

PRISM Compliance Management - Copyright © 2018