# Create a customer

`POST /customers`

Base URL: https://api.acme.dev/v1

Authentication: bearer token in Authorization header

## Request body

Content type: `application/json`

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | string | no |  |
| `email` | email | no |  |
| `name` | string | no |  |
| `address` | object | no |  |
| `address.line1` | string | no |  |
| `address.city` | string | no |  |
| `address.country` | string | no |  |

## Example request

```bash
curl -X POST https://api.acme.dev/v1/customers \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Responses

- **200**: The customer.

### Example response (200)

```json
{
  "id": "cus_8f3k2",
  "email": "user@example.com",
  "name": "Ada Lovelace",
  "address": {
    "line1": "string",
    "city": "string",
    "country": "US"
  }
}
```
