**Version: 202601**

# Create supplier

**POST** `/openapi/2026-01/suppliers`

Allows users to add a new supplier to the system.

## Request

**application/json**

**Body | Example**

**Body (required)**

- `supplier` object (required)

  Object containing supplier details

  - `title` string (required)

    Supplier's name, must be unique within the store
  - `url` string

    URL associated with the supplier

```json
{
  "supplier": {
    "title": "string",
    "url": "string"
  }
}
```

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `supplier` object

    Object containing supplier details

    - `id` uint64

      Supplier ID
    - `title` string

      Name of the supplier
    - `url` string

      URL associated with the supplier
    - `created_at` string

      Timestamp when the supplier was created, in ISO-8601 format
    - `updated_at` string

      Timestamp when the supplier was last updated, in ISO-8601 format

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "supplier": {
      "id": 0,
      "title": "string",
      "url": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
