---
title: "saveCustomers"
method: POST
path: "/customer/v1/saveCustomers"
tags: ["Customer Service"]
---

# saveCustomers

`POST /customer/v1/saveCustomers`

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

## Headers

- `authenticationtoken` string, required
- `password` string, required
- `sitename` string, required
- `userid` string, required
- `X-B3-TraceId` string

## Request body

- CustomerDetailsList — CustomerDetailsList description
  - `customerDetails` CustomerDetailsReq[]
    - `customerDetailDetails` CustomerDetailsDtoReq[]
      - `activeFlag` string — "activeFlag" from Customer
      - `address1` string, required — "address1" from Customer
      - `address2` string — "address2" from Customer
      - `city` string, required — "city" from Customer
      - `country` string, required — "country" from Customer
      - `customerAccountNumber` string — "customerAccountNumber" from Customer
      - `customerCode` string, required — "customerCode" from Customer
      - `customerName` string, required — "customerName" from Customer
      - `deleteFlag` string — "deleteFlag" from Customer
      - `exportCode` string — "exportCode" from Customer
      - `importCode` string — "importCode" from Customer
      - `locationCode` string, required — "locationCode" from Customer
      - `retailPricing` string — "retailPricing" from Customer
      - `state` string — "state" from Customer
      - `supplyPricing` string, required — "supplyPricing" from Customer
      - `zipcode` string — "zipcode" from Customer
  - `locationCode` string, required — The Code that identifies the Location in Crunchtime.

## Response `200`

Success

- object

## Other responses

- `400` — Validation Error
- `401` — Authorization
- `429` — Too Many Requests
- `500` — Unexpected Error
- `503` — System under maintenance
- `504` — Timeout

---

[API](https://skmtc.net/crunchtime/apis/inventory-labor.md) · [All operations](https://skmtc.net/crunchtime/apis/inventory-labor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crunchtime/inventory-labor/revisions/0af8e380ff2c/schema)
