Skip to main content

Vendors

Manage vendor records for supply chain management.

Base URL: /api/v1/partner/vendors

Endpoints Overview

MethodEndpointDescription
GET/{vendorId}Get vendor by id
GET/Search vendors
POST/Create Vendor
PUT/{vendorId}Update Vendor

Get vendor by id

GET /api/v1/partner/vendors/{vendorId}

Retrieve a single vendor by ID, including the vendor's associated brand list.

Path Parameters

ParameterTypeDescription
vendorIdstringThe vendor i d

Response

Returns a VendorResult object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
importIdstringNoImport identifier
activebooleanNoWhether active (default: true)
namestringYesName
phonestringNoPhone number
emailstringNoEmail address
faxstringNoFax
addressAddressNoAddress
descriptionstringNoDescription
websitestringNoWebsite URL
firstNamestringNoFirst name
lastNamestringNoLast name
notesNote[]NoNotes
licenseNumberstringNoLicense Number
assetsCompanyAsset[]NoAssets
backOrderEnabledbooleanNoBack Order Enabled (default: false)
licenseExpirationDatelongNoLicense Expiration timestamp (epoch ms)
armsLengthTypestringNoArms Length Type. One of: ARMS_LENGTH, NON_ARMS_LENGTH (default: NON_ARMS_LENGTH)
brandsstring[]NoBrands
additionalAddressListAddress[]NoAdditional Address List
creditsnumberNoCredits
mobileNumberstringNoMobile number
relatedEntitybooleanNoRelated Entity
vendorTypestringNoVendor Type. One of: CUSTOMER, VENDOR, BOTH (default: VENDOR)
dbaNamestringNoDba Name
companyLicensesCompanyLicense[]NoCompany Licenses
createdBystringNoCreated By
accountOwnerIdstringNoAccount Owner identifier
defaultPaymentTermstringNoDefault Payment Term
salesPersonstringNoSales Person
contactPersonstringNoContact Person
defaultContactIdstringNoDefault Contact identifier
externalIdstringNoExternal system identifier
toDefaultbooleanNoTo Default
connectedShopstringNoConnected Shop
isGiftCardbooleanNoIs Gift Card
platformVendorIdstringNoPlatform Vendor identifier
brandListBrand[]NoBrand List

Search vendors

GET /api/v1/partner/vendors

Retrieve a paginated list of vendors. Supports optional startDate and endDate filters and pagination with skip and limit.

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoStart date filter
endDatestringNoEnd date filter
skipintegerNoNumber of records to skip
limitintegerNoMaximum records to return

Response

Returns a paginated SearchResult of Vendor objects.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
importIdstringNoImport identifier
activebooleanNoWhether active (default: true)
namestringYesName
phonestringNoPhone number
emailstringNoEmail address
faxstringNoFax
addressAddressNoAddress
descriptionstringNoDescription
websitestringNoWebsite URL
firstNamestringNoFirst name
lastNamestringNoLast name
notesNote[]NoNotes
licenseNumberstringNoLicense Number
assetsCompanyAsset[]NoAssets
backOrderEnabledbooleanNoBack Order Enabled (default: false)
licenseExpirationDatelongNoLicense Expiration timestamp (epoch ms)
armsLengthTypestringNoArms Length Type. One of: ARMS_LENGTH, NON_ARMS_LENGTH (default: NON_ARMS_LENGTH)
brandsstring[]NoBrands
additionalAddressListAddress[]NoAdditional Address List
creditsnumberNoCredits
mobileNumberstringNoMobile number
relatedEntitybooleanNoRelated Entity
vendorTypestringNoVendor Type. One of: CUSTOMER, VENDOR, BOTH (default: VENDOR)
dbaNamestringNoDba Name
companyLicensesCompanyLicense[]NoCompany Licenses
createdBystringNoCreated By
accountOwnerIdstringNoAccount Owner identifier
defaultPaymentTermstringNoDefault Payment Term
salesPersonstringNoSales Person
contactPersonstringNoContact Person
defaultContactIdstringNoDefault Contact identifier
externalIdstringNoExternal system identifier
toDefaultbooleanNoTo Default
connectedShopstringNoConnected Shop
isGiftCardbooleanNoIs Gift Card
platformVendorIdstringNoPlatform Vendor identifier

Create Vendor

POST /api/v1/partner/vendors

Create a new vendor. The name field is required. Optionally provide employeeId to attribute the creation to a specific employee for audit purposes.

Request Body

FieldTypeRequiredDescription
importIdstringNoImport identifier
activebooleanNoWhether active
namestringYesName
medicalbooleanNoMedical
phonestringNoPhone number
emailstringNoEmail address
websitestringNoWebsite URL
faxstringNoFax
addressAddressNoAddress
descriptionstringNoDescription
contactFirstNamestringNoContact First Name
contactLastNamestringNoContact Last Name
licenseNumberstringNoLicense Number
firstNamestringNoFirst name
lastNamestringNoLast name
assetsCompanyAsset[]NoAssets
licenseExpirationDatelongNoLicense Expiration timestamp (epoch ms)
brandsstring[]NoBrands
additionalAddressListAddress[]NoAdditional Address List
relatedEntitybooleanNoRelated Entity
mobileNumberstringNoMobile number
notesNote[]NoNotes
dbaNamestringNoDba Name
companyLicensesCompanyLicense[]NoCompany Licenses
employeeIdstringNoEmployee identifier
accountOwnerIdstringNoAccount Owner identifier
defaultPaymentTermstringNoDefault Payment Term
externalIdstringNoExternal system identifier
salesPersonstringNoSales Person
contactPersonstringNoContact Person
defaultContactIdstringNoDefault Contact identifier
connectedShopstringNoConnected Shop
backOrderEnabledbooleanNoBack Order Enabled (default: false)
platformVendorIdstringNoPlatform Vendor identifier

Response

Returns a Vendor object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
importIdstringNoImport identifier
activebooleanNoWhether active (default: true)
namestringYesName
phonestringNoPhone number
emailstringNoEmail address
faxstringNoFax
addressAddressNoAddress
descriptionstringNoDescription
websitestringNoWebsite URL
firstNamestringNoFirst name
lastNamestringNoLast name
notesNote[]NoNotes
licenseNumberstringNoLicense Number
assetsCompanyAsset[]NoAssets
backOrderEnabledbooleanNoBack Order Enabled (default: false)
licenseExpirationDatelongNoLicense Expiration timestamp (epoch ms)
armsLengthTypestringNoArms Length Type. One of: ARMS_LENGTH, NON_ARMS_LENGTH (default: NON_ARMS_LENGTH)
brandsstring[]NoBrands
additionalAddressListAddress[]NoAdditional Address List
creditsnumberNoCredits
mobileNumberstringNoMobile number
relatedEntitybooleanNoRelated Entity
vendorTypestringNoVendor Type. One of: CUSTOMER, VENDOR, BOTH (default: VENDOR)
dbaNamestringNoDba Name
companyLicensesCompanyLicense[]NoCompany Licenses
createdBystringNoCreated By
accountOwnerIdstringNoAccount Owner identifier
defaultPaymentTermstringNoDefault Payment Term
salesPersonstringNoSales Person
contactPersonstringNoContact Person
defaultContactIdstringNoDefault Contact identifier
externalIdstringNoExternal system identifier
toDefaultbooleanNoTo Default
connectedShopstringNoConnected Shop
isGiftCardbooleanNoIs Gift Card
platformVendorIdstringNoPlatform Vendor identifier

Update Vendor

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

Update an existing vendor by ID. Send the full vendor object in the request body. Optionally include employeeId for audit attribution.

Path Parameters

ParameterTypeDescription
vendorIdstringThe vendor i d

Request Body

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
importIdstringNoImport identifier
activebooleanNoWhether active (default: true)
namestringYesName
phonestringNoPhone number
emailstringNoEmail address
faxstringNoFax
addressAddressNoAddress
descriptionstringNoDescription
websitestringNoWebsite URL
firstNamestringNoFirst name
lastNamestringNoLast name
notesNote[]NoNotes
licenseNumberstringNoLicense Number
assetsCompanyAsset[]NoAssets
backOrderEnabledbooleanNoBack Order Enabled (default: false)
licenseExpirationDatelongNoLicense Expiration timestamp (epoch ms)
armsLengthTypestringNoArms Length Type. One of: ARMS_LENGTH, NON_ARMS_LENGTH (default: NON_ARMS_LENGTH)
brandsstring[]NoBrands
additionalAddressListAddress[]NoAdditional Address List
creditsnumberNoCredits
mobileNumberstringNoMobile number
relatedEntitybooleanNoRelated Entity
vendorTypestringNoVendor Type. One of: CUSTOMER, VENDOR, BOTH (default: VENDOR)
dbaNamestringNoDba Name
companyLicensesCompanyLicense[]NoCompany Licenses
createdBystringNoCreated By
accountOwnerIdstringNoAccount Owner identifier
defaultPaymentTermstringNoDefault Payment Term
salesPersonstringNoSales Person
contactPersonstringNoContact Person
defaultContactIdstringNoDefault Contact identifier
externalIdstringNoExternal system identifier
toDefaultbooleanNoTo Default
connectedShopstringNoConnected Shop
isGiftCardbooleanNoIs Gift Card
platformVendorIdstringNoPlatform Vendor identifier
employeeIdstringNoEmployee identifier

Response

Returns a Vendor object.

FieldTypeRequiredDescription
idstringNoUnique identifier
companyIdstringNoCompany identifier
createdlongNoCreated timestamp (epoch ms)
modifiedlongNoLast modified timestamp (epoch ms)
deletedbooleanNoWhether the record is deleted
updatedbooleanNoWhether the record has been updated
importIdstringNoImport identifier
activebooleanNoWhether active (default: true)
namestringYesName
phonestringNoPhone number
emailstringNoEmail address
faxstringNoFax
addressAddressNoAddress
descriptionstringNoDescription
websitestringNoWebsite URL
firstNamestringNoFirst name
lastNamestringNoLast name
notesNote[]NoNotes
licenseNumberstringNoLicense Number
assetsCompanyAsset[]NoAssets
backOrderEnabledbooleanNoBack Order Enabled (default: false)
licenseExpirationDatelongNoLicense Expiration timestamp (epoch ms)
armsLengthTypestringNoArms Length Type. One of: ARMS_LENGTH, NON_ARMS_LENGTH (default: NON_ARMS_LENGTH)
brandsstring[]NoBrands
additionalAddressListAddress[]NoAdditional Address List
creditsnumberNoCredits
mobileNumberstringNoMobile number
relatedEntitybooleanNoRelated Entity
vendorTypestringNoVendor Type. One of: CUSTOMER, VENDOR, BOTH (default: VENDOR)
dbaNamestringNoDba Name
companyLicensesCompanyLicense[]NoCompany Licenses
createdBystringNoCreated By
accountOwnerIdstringNoAccount Owner identifier
defaultPaymentTermstringNoDefault Payment Term
salesPersonstringNoSales Person
contactPersonstringNoContact Person
defaultContactIdstringNoDefault Contact identifier
externalIdstringNoExternal system identifier
toDefaultbooleanNoTo Default
connectedShopstringNoConnected Shop
isGiftCardbooleanNoIs Gift Card
platformVendorIdstringNoPlatform Vendor identifier