Customer Service
saveCustomers
Create a new customer account. Update a customer's account details.
post/customer/v1/saveCustomers
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
{
"customerDetails": [
{
"customerDetailDetails": [
{
"activeFlag": "Y",
"address1": "100 Main Street1",
"address2": "100 Main Street2",
"city": "BOSTON",
"country": "USA",
"customerAccountNumber": "860 536-4589 428",
"customerCode": "030292",
"customerName": "Melissa's Vendor",
"deleteFlag": "Y",
"exportCode": "EXP1",
"importCode": "new_imp_code1",
"retailPricing": "STAN",
"state": "IN",
"supplyPricing": "COST PLUS",
"zipcode": "02114"
}
]
}
],
"locationCode": "000000"
}Response
Success
object required