SuppliersGet Supplier by ID

Get Supplier by ID

Returns the data for a specific company supplier by numeric ID.

Rules:

curl -X GET "https://api-sandbox.contasimples.com/suppliers/v1/suppliers/16" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "id": 16,
  "name": "Example Supplier LLC",
  "type": {
    "id": 1,
    "type": "CUSTOM"
  }
}
GET
/suppliers/v1/suppliers/{id}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}
path
idinteger
Required

Numeric supplier identifier — use the id field returned by GET /suppliers/v1/suppliers.

Format: int32
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Path Parameters

idinteger
Required

Numeric supplier identifier — use the id field returned by GET /suppliers/v1/suppliers.

Responses

idinteger
Required

Numeric supplier identifier.

companyIdstring

Always returns the ID of the authenticated company.

namestring
Required

Supplier name.

typestring
Required

Supplier type. Indicates whether created by your company (CUSTOM) or platform-seeded (DEFAULT).