curl --request GET \
--url https://{host}/cleemy-procurement/api/suppliers/{id} \
--header 'Authorization: <authorization>'{
"id": 123,
"name": "<string>",
"state": "Active",
"territory": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"legalRegistration": {
"identifier": "<string>",
"vatNumber": "<string>"
},
"contacts": [
{
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
],
"paymentTerm": {
"value": 123,
"unit": "Day"
},
"bankAccount": {
"iban": "<string>",
"bic": "<string>"
},
"preferredNature": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"preferredPaymentMethod": "BankTransfer",
"preferredCostCenter": {
"id": 123,
"name": "<string>",
"code": "<string>",
"href": "<string>"
},
"establishments": [
{
"id": 123,
"name": "<string>",
"href": "<string>"
}
],
"flag": "Unflagged"
}Retrieve a supplier by its ID.
curl --request GET \
--url https://{host}/cleemy-procurement/api/suppliers/{id} \
--header 'Authorization: <authorization>'{
"id": 123,
"name": "<string>",
"state": "Active",
"territory": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"legalRegistration": {
"identifier": "<string>",
"vatNumber": "<string>"
},
"contacts": [
{
"firstName": "<string>",
"lastName": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
],
"paymentTerm": {
"value": 123,
"unit": "Day"
},
"bankAccount": {
"iban": "<string>",
"bic": "<string>"
},
"preferredNature": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"preferredPaymentMethod": "BankTransfer",
"preferredCostCenter": {
"id": 123,
"name": "<string>",
"code": "<string>",
"href": "<string>"
},
"establishments": [
{
"id": 123,
"name": "<string>",
"href": "<string>"
}
],
"flag": "Unflagged"
}API key. Value must be formatted like so: lucca application={api_key}.
ID of the supplier.
OK
A supplier.
Active, Archived Read-only. Territory of the supplier.
Show child attributes
Show child attributes
Show child attributes
Default payment term for this supplier.
Show child attributes
Show child attributes
Read-only. Preferred nature for this supplier.
Show child attributes
BankTransfer: bank transfer. PhysicalCard: physical card. Check: check. DirectDebit: direct debit. SingleUseCard: single use card.
BankTransfer, PhysicalCard, Check, DirectDebit, SingleUseCard Read-only. Preferred cost-center for this supplier.
Show child attributes
Read-only. Establishments associated with this supplier.
Show child attributes
Unflagged, Flagged Was this page helpful?