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.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by supplier code. Case-insensitive exact match.
A page of data sources.
A paginated list of data sources.
Total number of data sources matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page of the data source list does not exist — the page number is beyond the last page or is not a number.
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?

