# Download organisations as JSON

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

Endpoint: GET /v2/download/organisations.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

  - `organisation_id` (string)
    Returns data of organisation based on the given id

## Response 200:

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

## Response 200 fields (application/json):

  - `organisation_id` (string, required)
    Organisation / Store ID
    Example: 540

  - `organisation_name` (string, required)
    Organisation name
    Example: Web Sales

  - `area` (string)
    Sales area
    Example: South

  - `latitude` (number)
    Latitude
    Example: 60.184014

  - `longitude` (number)
    Longitude
    Example: 24.960046

  - `channel` (string)
    Sales channel
    Example: Concession

  - `floor_area` (number)
    Store area eg. in m2
    Example: 250

  - `no_customer_seats` (number)
    Number of customer seats in store
    Example: 150

  - `organisation_type` (string)
    Outlet / Brand / Essential
    Example: Outlet

  - `organisation_group` (string)
    Organisation group
    Example: A

  - `google_location_url` (string)
    Google review location URL
    Example: https://www.google.com/maps/reviews?data=XYZ

  - `image_url` (string)
    Url for external store image file
    Example: http://example.com?product=XYZ

  - `store_status` (string)
    Status of store
    Enum: "open", "closed", "temporarily_closed"

  - `custom_dimension1` (string)
    Custom Field 1
    Example: Class 3

  - `custom_dimension2` (string)
    Custom Field 2
    Example: Class 3

  - `custom_dimension3` (string)
    Custom Field 3
    Example: Class 3

  - `custom_dimension4` (string)
    Custom Field 4
    Example: Class 3

  - `custom_dimension5` (string)
    Custom Field 5
    Example: Class 3

## 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)

