GuideLab API

Get a supplier

Retrieves the full details of a single supplier by its ID.

GET
/inventory/suppliers/{id}

Retrieves the full details of a single supplier by its ID.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string

Supplier ID

Response Body

application/json

curl -X GET "https://example.com/inventory/suppliers/550e8400-e29b-41d4-a716-446655440000"
{  "data": {    "id": "string",    "organizationId": "string",    "name": "string",    "code": "string",    "contactName": "string",    "email": "string",    "phone": "string",    "website": "string",    "country": "string",    "currency": "string",    "isActive": true,    "createdAt": "string",    "updatedAt": "string",    "property1": null,    "property2": null  }}
Empty
Empty