---
search:
  tags:
    - Suppliers
    - POST
seo:
  description: >-
    Create a supplier. Requires a Write key. Reference for the POST /suppliers
    endpoint in the scango.ch API.
sidebar:
  label: Create supplier
  badge: POST
title: Create supplier
type: openapi-operation
---
Create a supplier. Requires a Write key.

`POST /suppliers`

**Request body** (`application/json`, required)

- `name` (string, required)
- `externalId` (string) — Optional external identifier
- `company` (string)
- `city` (string)
- `street` (string)
- `plz` (string)
- `email` (string)
- `payoutEmail` (string)
- `orderEmail` (string)
- `phone` (string)
- `contactPerson` (string)
- `contactPhone` (string)
- `dailyMail` (string)
- `supplierMargin` (number)
- `iban` (string)
- `bic` (string)
- `bankName` (string)
- `payoutsEnabled` (boolean)

Request body example:

```json
{
  "name": "Example AG",
  "company": "Example AG",
  "city": "Zürich",
  "street": "Bahnhofstrasse 1",
  "plz": "8001",
  "email": "orders@example.ch"
}
```

**Responses**

- `200` — Supplier created
- `400` — Invalid parameters or body.
- `403` — Missing, unknown or inactive API key, or a Read key on a write operation.

Response example, 200:

```json
{
  "success": true,
  "id": "newSupplierId"
}
```

Response example, 400:

```json
{
  "statusCode": 400,
  "message": "Validation failed for Field: name, Error: Required",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/suppliers"
}
```

Response example, 403:

```json
{
  "statusCode": 403,
  "message": "Unknown Error",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/products"
}
```
