Skip to main content
GET
/
api
/
suppliers
/
{id}
Get supplier by ID
curl --request GET \
  --url https://app.solya.app/api/suppliers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "code": "ACME",
  "email": "contact@acme-textiles.com",
  "id": "s1",
  "isActive": true,
  "name": "Acme Textiles",
  "phone": "+33 1 23 45 67 89"
}

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Path Parameters

id
string
required

Unique identifier of the resource (UUID)

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true