Go Back

PUT v1/vendors/{id}

Update a vendor

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Vendor identifier

string

Required

Body Parameters

Client
NameDescriptionTypeAdditional information
Id

string

None.

OrganizationName

string

String length: inclusive between 0 and 80

TaxId

string

String length: inclusive between 0 and 30

Address1

string

String length: inclusive between 0 and 150

Address2

string

String length: inclusive between 0 and 150

City

string

String length: inclusive between 0 and 80

State

string

String length: inclusive between 0 and 50

ZipCode

string

String length: inclusive between 0 and 20

Website

string

String length: inclusive between 0 and 150

ContactName

string

String length: inclusive between 0 and 80

Email

string

Required

String length: inclusive between 0 and 80

Telephone1

string

String length: inclusive between 0 and 20

Telephone2

string

String length: inclusive between 0 and 20

Cell

string

String length: inclusive between 0 and 20

Fax

string

String length: inclusive between 0 and 20

InternalNotes

string

String length: inclusive between 0 and 250

StatusId

byte

None.

Due

byte

Range: inclusive between 0 and 180

BankAccountId

integer

None.

DiscountId

byte

Range: inclusive between 1 and 3

DaysPriorDueDate

byte

Range: inclusive between 1 and 7

DaysPastDueDate

byte

Range: inclusive between 1 and 7

CountryId

byte

None.

CountryCode

integer

Range: inclusive between 0 and 99999

Salutation

byte

None.

Contacts

Collection of Contact

None.

Uri

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "OrganizationName": "sample string 2",
  "TaxId": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "City": "sample string 6",
  "State": "sample string 7",
  "ZipCode": "sample string 8",
  "Website": "sample string 9",
  "ContactName": "sample string 10",
  "Email": "sample string 11",
  "Telephone1": "sample string 12",
  "Telephone2": "sample string 13",
  "Cell": "sample string 14",
  "Fax": "sample string 15",
  "InternalNotes": "sample string 16",
  "StatusId": 64,
  "Due": 64,
  "BankAccountId": 1,
  "DiscountId": 64,
  "DaysPriorDueDate": 64,
  "DaysPastDueDate": 64,
  "CountryId": 64,
  "CountryCode": 1,
  "Salutation": 64,
  "Contacts": [
    {
      "Email": "sample string 1"
    },
    {
      "Email": "sample string 1"
    }
  ],
  "Uri": "sample string 17"
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Go Back