Customer Service

saveCustomers

Create a new customer account. Update a customer's account details.

post/customer/v1/saveCustomers

Request

  • Base URL
    //webservices-test.net-chef.com (relative, and the document’s source URL is not known)
  • URL
    //webservices-test.net-chef.com/customer/v1/saveCustomers
  • Auth
    none 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

locationCodestring required

The Code that identifies the Location in Crunchtime.

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

Changes

No recorded changes to this operation across all 2 revisions of this API.