GET Single Supplier
Prod Env
{{subdomain}}/api2
Prod Env
{{subdomain}}/api2
GET
{{subdomain}}/api2
Last modified:2025-04-20 12:10:30
Maintainer:Not configured
id
: Supplier ID (required){
"result": "success",
"code": 200,
"data": {
"Supplier": {
"id": 1,
"supplier_number": "SUP001",
"business_name": "Supply Co",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com",
"phone1": "555-9876",
"phone2": "555-5432",
"address1": "456 Market St",
"address2": "Suite 200",
"city": "San Francisco",
"state": "CA",
"postal_code": "94103",
"country_code": "US",
"website": "https://supplyco.example.com",
"tax_registration": "87-6543210",
"created": "2023-01-10 09:15:22",
"modified": "2023-03-05 14:20:30",
"balance": 750.00,
"active": 1,
"notes": "Primary office supplies vendor",
// Additional supplier fields...
"custom_fields": {
"payment_terms": "Net 30",
"discount_rate": "2%"
}
},
"PurchaseOrders": [
{
"id": 567,
"number": "PO-2023-001",
"date": "2023-03-20",
"total": 500.00,
"status": 1
// Additional purchase order summary fields...
}
// Other recent purchase orders...
]
}
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{subdomain}}/api2/api2/suppliers/{{id}}.json'
Response Response Example
200 - Success Response
{
"result": "success",
"code": 200,
"data": {
"Supplier": {
"id": 1,
"supplier_number": "SUP001",
"business_name": "Supply Co",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com",
"phone1": "555-9876",
"phone2": "555-5432",
"address1": "456 Market St",
"address2": "Suite 200",
"city": "San Francisco",
"state": "CA",
"postal_code": "94103",
"country_code": "US",
"website": "https://supplyco.example.com",
"tax_registration": "87-6543210",
"created": "2023-01-10 09:15:22",
"modified": "2023-03-05 14:20:30",
"balance": 750,
"active": 1,
"notes": "Primary office supplies vendor",
"custom_fields": {
"payment_terms": "Net 30",
"discount_rate": "2%"
}
},
"PurchaseOrders": [
{
"id": 567,
"number": "PO-2023-001",
"date": "2023-03-20",
"total": 500,
"status": 1
},
{
"id": 560,
"number": "PO-2023-0095",
"date": "2023-02-25",
"total": 750,
"status": 2
}
]
}
}
Request
None