Suppliers

Create suppliers

The body is one supplier or an array of them. The website is unique inside the team.

post/api/v1/sa/inventory/suppliers

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/sa/inventory/suppliers
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key

Request body

OR

Example request

{
  "name": "Acme Wholesalers",
  "website": "acme.com",
  "payment_terms": "Net 30",
  "contacts": "contact@acme.com",
  "status": "New",
  "responsible_user_id": 4,
  "type": "Distributor",
  "address": "123 Main St",
  "currency": "USD",
  "phone": "+1234567890",
  "country": "Germany",
  "source": "api"
}

Response

One result for each element. An array answers this shape.

Example response

{
  "data": [
    {
      "id": 1,
      "team_id": 123,
      "user_id": 456,
      "name": "Acme Wholesalers",
      "website": "https://acme.com",
      "status": "New",
      "type": "Distributor",
      "payment_method": [
        "Credit card",
        "ACH"
      ],
      "payment_terms": "Net 30",
      "currency": "USD",
      "contacts": "contact@acme.com",
      "contact_name": "John Doe",
      "phone": "+1234567890",
      "address": "123 Main St, City, State",
      "default_prep_center_id": 3,
      "note": "Preferred supplier for electronics",
      "mov": 5000.75,
      "free_shipping_ov": 150,
      "lead_time_min": 3,
      "lead_time_max": 10,
      "created_at": "2025-12-22T10:00:00Z",
      "updated_at": "2025-12-22T12:30:00Z"
    }
  ],
  "meta": {
    "succeeded": 2,
    "failed": 1
  },
  "errors": [
    {
      "code": "not_found",
      "message": "The product [P-1] was not found."
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.