# Get Sale source list

`GET /api/v1/Tenants/{tenantId}/SaleSources`

Core API · SaleSources · base URL `https://core-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/core/sale-sources/get-sale-source-list

### Available filter properties
- created (datetime)
- deleted (datetime)
- type (enum)
- name (string)
- apitokenid (guid)

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `tenantId` | string (uuid) | yes |  |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Offset` | integer (int32) | no | Offset the result, defaults to 0 |
| `Limit` | integer (int32) | no | Limits how many items to get, defaults to 100 min 0, max 1000. |
| `Order` | string | no | Order the result. |
| `Search` | string | no |  |
| `Filter` | map<string, array<string>> | no | Filter the result. Filter[created]=gte:2022-01-02 12:00:00&Filter[created]=lte:2022-08-03 22:00:00 |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `correlationId` | string | no | Correlation Id for the request |

## Responses

| Status | Description |
| --- | --- |
| 200 | OK |
| 401 | Unauthorized |
| 404 | Not Found |

### 200 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array<object> or null | no |  |
| `items[].id` | string (uuid) | no |  |
| `items[].created` | string (date-time) | no |  |
| `items[].modified` | string (date-time) | no |  |
| `items[].tenantId` | string (uuid) or null | no |  |
| `items[].name` | string or null | no |  |
| `items[].apiTokenId` | string (uuid) or null | no |  |
| `items[].deleted` | string (date-time) or null | no |  |
| `items[].type` | integer (int32) | no | Allowed values: `0`, `1`. |
| `meta` | object or null | no |  |
| `meta.count` | integer (int32) | no |  |
| `meta.offset` | integer (int32) | no |  |

#### Example

```json
{
  "items": [
    {
      "id": "41f6903b-398a-472d-8262-c239b0ac378d",
      "created": "2026-10-22T14:33:34.1802315Z",
      "modified": "2026-10-22T14:33:34.1802321Z",
      "tenantId": null,
      "name": "OrderApp",
      "apiTokenId": null,
      "deleted": null,
      "type": 0
    },
    {
      "id": "90011053-1b28-451d-80fb-2360c2f71cac",
      "created": "2026-10-22T14:33:34.1802329Z",
      "modified": "2026-10-22T14:33:34.180233Z",
      "tenantId": null,
      "name": "OrderWeb",
      "apiTokenId": null,
      "deleted": null,
      "type": 0
    },
    {
      "id": "125fbb38-16d3-4703-bf10-fde88fae4ddd",
      "created": "2026-10-22T14:33:34.1802333Z",
      "modified": "2026-10-22T14:33:34.1802333Z",
      "tenantId": null,
      "name": "POSClient",
      "apiTokenId": null,
      "deleted": null,
      "type": 0
    },
    {
      "id": "e4b427b0-5e72-46d4-83e3-374589b952e2",
      "created": "2026-10-22T14:33:34.1802335Z",
      "modified": "2026-10-22T14:33:34.1802335Z",
      "tenantId": null,
      "name": "ExpressClient",
      "apiTokenId": null,
      "deleted": null,
      "type": 0
    },
    {
      "id": "0e9e3f50-8056-4fc1-989c-6c0f31ae3856",
      "created": "2026-10-22T14:33:34.1802338Z",
      "modified": "2026-10-22T14:33:34.1802338Z",
      "tenantId": null,
      "name": "Deliverect",
      "apiTokenId": null,
      "deleted": null,
      "type": 0
    },
    {
      "id": "145a0c32-6b27-4329-beaa-c9eab7baf250",
      "created": "2026-10-23T08:33:34.1802391Z",
      "modified": "2026-10-23T08:33:34.1802394Z",
      "tenantId": "a9f2c7e4-b7ab-4225-a54c-835ab5fec47e",
      "name": "Public API - Devs AB",
      "apiTokenId": "7bdb34e5-0a61-4df8-b1c3-013fe9f396bb",
      "deleted": null,
      "type": 1
    },
    {
      "id": "4a25db46-4731-44f7-b00e-4ed863467d10",
      "created": "2026-10-23T08:33:34.1802415Z",
      "modified": "2026-10-23T08:33:34.1802416Z",
      "tenantId": "394edc18-f9cb-4ef3-81fe-2e83452c0d5a",
      "name": "Public API - External company AB",
      "apiTokenId": "2ed15521-7466-444d-97ec-f2dedeb1ae9e",
      "deleted": "2026-10-23T11:33:34.1802428Z",
      "type": 1
    }
  ],
  "meta": {
    "count": 7,
    "offset": 0
  }
}
```

### 401 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |

#### Example (from schema)

```json
{
  "message": "string"
}
```

### 404 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |

#### Example (from schema)

```json
{
  "message": "string",
  "errorCode": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```

## Example request

```bash
curl -X GET "https://core-api.ancon.io/api/v1/Tenants/{tenantId}/SaleSources" \
  -H "Access-Token: $ANCON_TOKEN"
```
