Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

List data sources

Returns a paginated list of data sources.

Use supplier_code to narrow the list; the filter is a case-insensitive exact match. Query parameters other than the ones listed below are ignored.

get
/data_sources/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
supplier_codestringOptional

Filter by supplier code. Case-insensitive exact match.

Responses
200

A page of data sources.

application/json

A paginated list of data sources.

countintegerOptional

Total number of data sources matching the request.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/data_sources/
GET /api/v1/remote/1/data_sources/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 8,
      "name": "Main Supplier",
      "slug": "main-supplier",
      "title": "Main Supplier Co.",
      "supplier_code": "SUP-001",
      "address": "123 Example Street",
      "email": "seller@example.com",
      "phone_number": "+902121234567",
      "fax_number": null,
      "kep_address": "seller@hs01.kep.tr",
      "mersis_number": "0123456789012345",
      "trade_association": "Chamber of Commerce",
      "extras": {},
      "price_list": 2,
      "stock_list": 2,
      "is_active": true
    }
  ]
}

Last updated

Was this helpful?