---
title: "Create"
method: POST
path: "/customers/create/"
---

# Create

`POST /customers/create/`

## Request

- Base URL: `https://restapi.ordergroove.com`
- URL: `https://restapi.ordergroove.com/customers/create/`
- Auth: one of:
  - none
  - API key in header `x-api-key`

Creates a new customer account.

## Request body

- object
  - `merchant` string, required: Merchant ID
  - `merchant_user_id` string, required: Merchant User ID
  - `session_id` string, required: Session ID, obtained from og_session_id cookie.
  - `user_token_id` string, required: User Token ID
  - `first_name` string, required: Customer first name
  - `last_name` string, required: Customer last name
  - `email` string, required: Customer email
  - `phone_number` string, required: Customer phone number
  - `phone_type` string, required: Customer phone type: "invalid", "landline", "mobile", or "voip"
  - `live` boolean, required: Account status: active = True
  - `created` string, required: Date of account creation
  - `last_updated` string, required: Date of last customer account update
  - `last_login` string, required: Date of last customer account login
  - `extra_data` string: Raw JSON string that should be JSON.parse() as key/value store for any extra information.
  - `locale` integer, required: Customer locale code. Accepts a locale string (e.g. `"en-US"`) or an integer ID for backwards compatibility.
  - `experiences` string: Experience name and Boolean value as key/value store, formatted as raw JSON string, to be JSON.parse() on retrieval
  - `price_code` string: Customer price code

## Response `200`

200

## Other responses

- `400`: 400
- `403`: 403

---

[API](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc.md) - [All operations](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/llms.txt) - [OpenAPI document](https://skmtc.dev/ordergroove/apis/ordergroove-restrpc/revisions/ba97e740d08c?raw)
