v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Vendors

Executes the Change Address action for the Vendors data object.

Changes an Existing Additional Address on a Vendor.

post/direct/subscribers/{subscriber_code}/vista/ap/2/data/vendors/actions/change_address

Path parameters

subscriber_codestring required

The code of the subscriber that you are making this request for.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

APCointeger required

The AP Company you are working with.

Typeinteger

Options: 0-Both, 1-Payment, 2-Purchase. Optional.

Descriptionstring nullable

Optional.

Addressstring nullable

Optional.

Citystring nullable

Optional.

Statestring nullable

Optional. State will be validated against the hq.countries.States array for the provided or existing Country.

Zipstring nullable

Optional.

Address2string nullable

Optional.

Notesstring nullable

Optional.

Countrystring nullable

Key to hq/countries(Country). Optional.

VendorAcctNumberstring nullable

Vendor Account NUmber used with Viewpoint ePay. Optional.

__custom_fieldsobject

Add properties to this object for any custom fields you want to update.

Response

Success

idstring
operationstring
statusstring