---
title: "Create Customer"
method: POST
path: "/customers"
tags: ["customers"]
---

# Create Customer

`POST /customers`

## Request body

- CreateCustomerRequest
  - `name` string, required
  - `mail` string, email
  - `phone` string
  - `prefix_country_id` integer
  - `client` integer
  - `vat_no` string
  - `discount_group` string
  - `comment` string
  - `account_type` string
  - `custom_number` string
  - `ean_number` string

## Response `201`

Created

- Customer
  - `uid` integer
  - `crdate` integer
  - `tstamp` integer
  - `crdate_formatted` string
  - `tstamp_formatted` string
  - `name` string
  - `mail` string
  - `phone` string
  - `prefix_country_id` integer
  - `client` integer
  - `address` integer
  - `address_text` string
  - `vat_no` string
  - `account_type` integer
  - `type` integer
  - `custom_number` string
  - `comment` string
  - `subscribed` integer
  - `discount_group_tags` object
  - `customer_number` string
  - `extend_integration` IntegrationCustomers
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `customer_id` integer
    - `type` integer
    - `credit_limit` integer
    - `integrationNumber` string
  - `address0` Address
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `street_name` string
    - `map_lat` number
    - `map_long` number
    - `country` integer
    - `zip_code` string
    - `note` string
    - `city_name` string
    - `cc_name` string
    - `name` string
  - `discount_group` DiscountGroup
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
    - `discount` number
    - `discount_on_children` integer

---

[API](https://skmtc.dev/shopbox/apis/shopbox-api.md) · [All operations](https://skmtc.dev/shopbox/apis/shopbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shopbox/shopbox-api/revisions/f1847469718c/schema)
