Vendor Service
saveVendor
Create a new vendor entry. Update vendor details.
post/vendor/v1/saveVendor
Request
- Base URL//webservices-test.net-chef.com (relative, and the document’s source URL is not known)
- URL//webservices-test.net-chef.com/vendor/v1/saveVendor
- Authnone declared. Required headers: authenticationtoken, password, sitename, userid
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
Changes
No recorded changes to this operation across all 2 revisions of this API.