---
title: "Distributor - Create"
method: POST
path: "/distributor/create"
tags: ["distributor"]
---

# Distributor - Create

`POST /distributor/create`

Create a new distributor with contact details and address.

## Request body

- object
  - `data` object, required — Supplier data to create
    - `name` string, required — Supplier name
    - `email` string — Supplier email
    - `phone` string — Supplier phone number
    - `address` DistributorAddress — Supplier address
      - `street` string — Street address
      - `street_2` string — Street address line 2
      - `city` string — City
      - `state` string — State or province
      - `zip` string — ZIP or postal code
      - `country` string — Country
    - `terms` string — Default payment terms
    - `shipping` string — Default shipping method
    - `memo` string — Default memo for purchase orders
    - `notes` string — Supplier notes
    - `warehouse_id` string — Associated warehouse ID
    - `location_id` string — Default location ID

## Response `200`

Supplier created successfully

- object
  - `success` boolean, required — Whether the operation succeeded
  - `_id` string, required — ID of the created resource

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden. Insufficient permissions.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error.

---

[API](https://skmtc.net/skulabs/apis/skulabs-api.md) · [All operations](https://skmtc.net/skulabs/apis/skulabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skulabs/skulabs-api/revisions/4b5ec0ed78a6/schema)
