Suppliers
Retrieve a supplier
Changed onThis endpoint returns a supplier.
ℹ️ This endpoint requires one of the following scopes: suppliers:all, suppliers:readonly
get/api/external/v2/suppliers/{id}
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/v2/suppliers/{id}
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: suppliers:all, suppliers:readonly
Path parameters
idinteger required
Supplier identifier
Headers
X-Company-Idstring
Example:12345
Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.
Response
Returns a supplier
Example response
{
"id": 42,
"name": "Pennylane",
"establishment_no": "82762938500014",
"reg_no": "827629385",
"vat_number": "FR32123456789",
"emails": [
"hello@example.org"
],
"iban": "FRXXXXXXXXXXXXXXXXXXXXXXXXX",
"supplier_due_date_delay": 30,
"external_reference": "FR123",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}Changes
- info
added the new optional
headerrequest parameterX-Company-Id
- info