# Download suppliers as JSON

**GET** `https://api.zoined.com/v2/download/suppliers.json?limit=1000&offset=0&supplier_id=123k`

Endpoint: GET /v2/download/suppliers.json
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer token

## Query parameters:

  - `limit` (number)
    How many entries to return

  - `offset` (number)
    Which offset to return data from

  - `supplier_id` (string)
    Returns data of suppliers based on the given id

## Response 200:

  - `200` (unknown)
    Request has been processed successfully.
**Headers**
- `Content-Type: application/json`

## Response 200 fields (application/json):

  - `supplier_id` (string, required)
    Supplier ID
    Example: 221

  - `supplier_name` (string)
    Supplier name
    Example: WasSuppliers

  - `supplier_email` (string)
    Supplier Email
    Example: john.smith@supplier.supplier

  - `supplier_phone` (string)
    Supplier phone number
    Example: +3581111111

  - `supplier_address` (string)
    Street address
    Example: Mannerheimintie 1

  - `supplier_city` (string)
    City
    Example: Helsinki

  - `supplier_zipcode` (string)
    Postal code
    Example: 00100

  - `supplier_country` (string)
    Country
    Example: Finland

  - `supplier_type` (string)
    Supplier type
    Example: Local

  - `supplier_group` (string)
    Supplier group
    Example: Strategic Supplier

  - `custom_field_1` (string)
    Field that can be used for custom dimensions
    Example: XYZ

  - `custom_field_2` (string)
    Field that can be used for custom dimensions
    Example: XYZ

  - `custom_field_3` (string)
    Field that can be used for custom dimensions
    Example: XYZ

  - `custom_field_4` (string)
    Field that can be used for custom dimensions
    Example: XYZ

  - `custom_field_5` (string)
    Field that can be used for custom dimensions
    Example: XYZ

## Response 400:

  - `400` (unknown)
    Invalid or malformed request.
**Headers**
- `Content-Type: application/json`

## Response 400 fields (application/json):

  - `status` (string, required)
    Status of the operation OK / Not OK
    Example: Not OK

  - `msg` (string, required)
    Message describing result of operation
    Example: Reason for error

## Response 401:

  - `401` (unknown)
    Missing or invalid authorization token in header
**Headers**
- `Content-Type: application/json`

## Response 401 fields (application/json):

  - `status` (string, required)
    Status of the operation OK / Not OK
    Example: Not OK

  - `msg` (string, required)
    Message describing result of operation
    Example: Unauthorized

## Response 500:

  - `500` (unknown)
    Internal error or exception
**Headers**
- `Content-Type: application/json`

## Response 500 fields (application/json):

  - `status` (string, required)
    Status of the operation OK / Not OK
    Example: Not OK

  - `msg` (string, required)
    Message describing result of operation
    Example: Reason for error

## Response 200 examples:

  - `response` (unknown)

## Response 400 examples:

  - `response` (unknown)

## Response 401 examples:

  - `response` (unknown)

## Response 500 examples:

  - `response` (unknown)

