Partners / Suppliers
This section provides endpoints for accessing and managing partner (vendor/supplier/distributor) data in the system. These APIs are typically used to retrieve information about business partners and service providers associated with your products or company operations.
Each partner record includes essential information such as name, logo, description, country, and website. You can match the partner_id value in each product with the partners.
List All Partners
Endpoint URL
GET
Description
Using this endpoint, you can list all partners defined for a country.
Authorization
Authentication: Bearer <token>
Request URL
GET
https://altium.net/api/partners/all
Example Response
{
"data": [
{
"id": 1,
"name": "Agilent",
"slug": "agilent",
"description": "<p>agilent description</p>",
"logo": "https://altium.test/images/logo-url.png",
"website": "https://agilent.com",
"list_order": 1,
"service_available": true,
"created_at": "2024-12-23 18:18:21",
"updated_at": "2024-12-23 18:18:21"
},
{
"id": 1,
"name": "Partner 2",
"slug": "partner-2",
"description": "<p>Partner 2 description</p>",
"logo": "https://altium.test/images/logo-url-2.png",
"website": "https://partner-2.com",
"list_order": 1,
"service_available": true,
"created_at": "2024-12-23 18:18:21",
"updated_at": "2024-12-23 18:18:21"
},
],
"pagination": {
"total": 2,
"current_page": 1,
"last_page": 1,
"per_page": 10,
"next_page_url": null,
"prev_page_url": null
}
}