v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Vendor Service

saveVendor

Create a new vendor entry. Update vendor details.

post/vendor/v1/saveVendor

Headers

authenticationtokenstring required

Secure token for API authentication.

passwordstring required

Password for the Crunchtime Application User.

sitenamestring required

Crunchtime site identifier. (test or production)

useridstring required

User ID for the Crunchtime Application User.

X-B3-TraceIdstring

Optional trace identifier for troubleshooting.

Request body

Example request

{
  "vendors": [
    {
      "accrualFlag": "Y",
      "allowDuplicateInvoicesFlag": "N",
      "allowDuplicatePoNumberFlag": "N",
      "allowPbiFlag": "Y",
      "allowSimpleReceiptFlag": "Y",
      "altAddress1": "123 Central Avenue",
      "altAddress2": "Suite 1",
      "altCityName": "Rockville",
      "altStateShortName": "MD",
      "autoProcessNewBidFileFlag": "Y",
      "autoReconcileEinvoiceFlag": "Y",
      "codFlag": "Y",
      "countryCode": "US",
      "countryName": "UNITED STATES",
      "createNewBidProductsFlag": "N",
      "currencyCode": "AFA",
      "electronicInvoiceFlag": "N",
      "haccpCertifiedFlag": "N",
      "internalFlag": "Y",
      "priceIncludesTax": "Y",
      "supplyActive": "N",
      "supplyBidPath": "Fax",
      "supplyCode": "000222",
      "supplyEmail": "w@Q.co",
      "supplyName": "My Supply Company",
      "supplyOrderPath": "12ww",
      "supplyPhone": "123-456-7890",
      "supplySalesmanFullName": "John",
      "supplySalesmanTitle": "Doe",
      "supplySatellite": "11@gmail.com",
      "supplyStateShortName": "MA",
      "supplyTerms": "Terms",
      "supplyTransmitMethod": "COI",
      "supplyTransmitPath": "PHONE",
      "supplyWebAddress": "abc@def.com",
      "taxId": "Tax ID"
    }
  ]
}

Response

Success

object required