Request

PUT http:///api/v1/partner/vendors/{vendorId}

Path parameters

Parameter name Value Description Additional
vendorId string Required

Request body

The request body takes a complete PartnerVendorUpdateRequest resource, containing the following writable properties:

{
    "accountOwnerId": "string",
    "active": "boolean",
    "additionalAddressList": [
        {
            "address": "string",
            "addressLine2": "string",
            "city": "string",
            "companyId": "string",
            "country": "string",
            "created": "int64",
            "deleted": "boolean",
            "id": "string",
            "latitude": "number",
            "longitude": "number",
            "modified": "int64",
            "state": "string",
            "updated": "boolean",
            "zipCode": "string"
        }
    ],
    "address": {
        "address": "string",
        "addressLine2": "string",
        "city": "string",
        "companyId": "string",
        "country": "string",
        "created": "int64",
        "deleted": "boolean",
        "id": "string",
        "latitude": "number",
        "longitude": "number",
        "modified": "int64",
        "state": "string",
        "updated": "boolean",
        "zipCode": "string"
    },
    "armsLengthType": "string",
    "assets": [
        {
            "active": "boolean",
            "assetType": "string",
            "companyId": "string",
            "created": "int64",
            "deleted": "boolean",
            "id": "string",
            "key": "string",
            "largeURL": "string",
            "largeX2URL": "string",
            "mediumURL": "string",
            "modified": "int64",
            "name": "string",
            "origURL": "string",
            "priority": "int32",
            "publicURL": "string",
            "secured": "boolean",
            "thumbURL": "string",
            "type": "string",
            "updated": "boolean"
        }
    ],
    "backOrderEnabled": "boolean",
    "brands": [
        "string"
    ],
    "companyId": "string",
    "companyLicenses": [
        {
            "companyType": "string",
            "created": "int64",
            "deleted": "boolean",
            "id": "string",
            "licenseExpirationDate": "int64",
            "licenseNumber": "string",
            "licenseType": "string",
            "modified": "int64",
            "toDefault": "boolean",
            "updated": "boolean"
        }
    ],
    "companyType": "string",
    "connectedShop": "string",
    "contactPerson": "string",
    "created": "int64",
    "createdBy": "string",
    "credits": "number",
    "dbaName": "string",
    "defaultContactId": "string",
    "defaultPaymentTerm": "string",
    "deleted": "boolean",
    "description": "string",
    "email": "string",
    "employeeId": "string",
    "externalId": "string",
    "fax": "string",
    "firstName": "string",
    "id": "string",
    "importId": "string",
    "lastName": "string",
    "licenceType": "string",
    "licenseExpirationDate": "int64",
    "licenseNumber": "string",
    "mobileNumber": "string",
    "modified": "int64",
    "name": "string",
    "notes": [
        {
            "created": "int64",
            "deleted": "boolean",
            "enableOnFleet": "boolean",
            "id": "string",
            "message": "string",
            "modified": "int64",
            "updated": "boolean",
            "writerId": "string",
            "writerName": "string"
        }
    ],
    "phone": "string",
    "qbVendorRef": [
        {
            "<key>": "string"
        }
    ],
    "relatedEntity": "boolean",
    "salesPerson": "string",
    "toDefault": "boolean",
    "updated": "boolean",
    "vendorType": "string",
    "website": "string"
}

Properties

Name Type Description Additional
accountOwnerId string Optional
active boolean Optional
additionalAddressList[] array Optional
additionalAddressList[].address string Optional
additionalAddressList[].addressLine2 string Optional
additionalAddressList[].city string Optional
additionalAddressList[].companyId string Optional
additionalAddressList[].country string Optional
additionalAddressList[].created int64 Optional
additionalAddressList[].deleted boolean Optional
additionalAddressList[].id string Optional
additionalAddressList[].latitude number Optional
additionalAddressList[].longitude number Optional
additionalAddressList[].modified int64 Optional
additionalAddressList[].state string Optional
additionalAddressList[].updated boolean Optional
additionalAddressList[].zipCode string Optional
address object Address Optional
address.address string Optional
address.addressLine2 string Optional
address.city string Optional
address.companyId string Optional
address.country string Optional
address.created int64 Optional
address.deleted boolean Optional
address.id string Optional
address.latitude number Optional
address.longitude number Optional
address.modified int64 Optional
address.state string Optional
address.updated boolean Optional
address.zipCode string Optional
armsLengthType string

Possible values are:

  • ARMS_LENGTH
  • NON_ARMS_LENGTH
Optional
assets[] array Optional
assets[].active boolean Optional
assets[].assetType string

Possible values are:

  • Photo
  • Document
  • Kml
Optional
assets[].companyId string Optional
assets[].created int64 Optional
assets[].deleted boolean Optional
assets[].id string Optional
assets[].key string Optional
assets[].largeURL string Optional
assets[].largeX2URL string Optional
assets[].mediumURL string Optional
assets[].modified int64 Optional
assets[].name string Optional
assets[].origURL string Optional
assets[].priority int32 Optional
assets[].publicURL string Optional
assets[].secured boolean Optional
assets[].thumbURL string Optional
assets[].type string

Possible values are:

  • Photo
  • Document
  • Kml
Optional
assets[].updated boolean Optional
backOrderEnabled boolean Optional
brands[] array of string Optional
companyId string Optional
companyLicenses[] array Optional
companyLicenses[].companyType string

Possible values are:

  • DISTRIBUTOR
  • CULTIVATOR
  • RETAILER
  • MANUFACTURER
  • TRANSPORTER
  • OTHER
  • TESTING_FACILITY
Optional
companyLicenses[].created int64 Optional
companyLicenses[].deleted boolean Optional
companyLicenses[].id string Optional
companyLicenses[].licenseExpirationDate int64 Optional
companyLicenses[].licenseNumber string Optional
companyLicenses[].licenseType string

Possible values are:

  • RECREATIONAL
  • MEDICINAL
  • BOTH
Optional
companyLicenses[].modified int64 Optional
companyLicenses[].toDefault boolean Optional
companyLicenses[].updated boolean Optional
companyType string

Possible values are:

  • DISTRIBUTOR
  • CULTIVATOR
  • RETAILER
  • MANUFACTURER
  • TRANSPORTER
  • OTHER
  • TESTING_FACILITY
Optional
connectedShop string Optional
contactPerson string Optional
created int64 Optional
createdBy string Optional
credits number Optional
dbaName string Optional
defaultContactId string Optional
defaultPaymentTerm string Optional
deleted boolean Optional
description string Optional
email string Optional
employeeId string Optional
externalId string Optional
fax string Optional
firstName string Optional
id string Optional
importId string Optional
lastName string Optional
licenceType string

Possible values are:

  • RECREATIONAL
  • MEDICINAL
  • BOTH
Optional
licenseExpirationDate int64 Optional
licenseNumber string Optional
mobileNumber string Optional
modified int64 Optional
name string Optional
notes[] array Optional
notes[].created int64 Optional
notes[].deleted boolean Optional
notes[].enableOnFleet boolean Optional
notes[].id string Optional
notes[].message string Optional
notes[].modified int64 Optional
notes[].updated boolean Optional
notes[].writerId string Optional
notes[].writerName string Optional
phone string Optional
qbVendorRef[] array of object Optional
qbVendorRef[].<key> map of string Optional
relatedEntity boolean Optional
salesPerson string Optional
toDefault boolean Optional
updated boolean Optional
vendorType string

Possible values are:

  • CUSTOMER
  • VENDOR
  • BOTH
Optional
website string Optional

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

successful operation

Vendor

Explore this API

vendorId
body
Request Content-Type
Response Content-Type
Try it out!