# Retrieve supplier by ID Return the supplier for a given supplier id Endpoint: POST /api/tenant/{tenantId_path}/suppliers/getSupplierById Version: v1 ## Path parameters: - `tenantId_path` (string, required) ## Request fields (application/json-patch+json): - `buildingId` (string,null) - `id` (string) ## Response 200 fields (text/plain): - `contracts` (array) - `contracts.id` (string) - `contracts.buildingId` (string) - `contracts.buildingName` (string) - `contracts.buildingReference` (string) - `contracts.label` (string) - `contracts.legalOwnerName` (string,null) - `contracts.startDate` (string) - `contracts.type` (integer) Enum: 1, 2, 3, 4, 5, 6, 7, 8 - `contracts.initialDurationType` (integer) Enum: 1, 2, 3 - `contracts.initialDurationValue` (integer) - `supplier` (object) - `supplier.bankDetailsList` (array) - `supplier.bankDetailsList.accountOwner` (string) - `supplier.bankDetailsList.bankDomiciliation` (string) - `supplier.bankDetailsList.bic` (string) - `supplier.bankDetailsList.iban` (string) - `supplier.bankDetailsList.wording` (string) - `supplier.bankDetailsList.canBeDeleted` (boolean) - `supplier.billingCity` (string,null) - `supplier.billingCountryCode` (integer,null) Enum: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249 - `supplier.billingRecipientLabel` (string,null) - `supplier.billingStreet1` (string,null) - `supplier.billingStreet2` (string,null) - `supplier.billingStreet3` (string,null) - `supplier.billingZipCode` (string,null) - `supplier.clientId` (string) - `supplier.codeNaf` (string,null) - `supplier.contactList` (array) - `supplier.contactList.comment` (string,null) - `supplier.contactList.email` (string) - `supplier.contactList.firstName` (string) - `supplier.contactList.lastName` (string) - `supplier.contactList.phoneNumber1` (string,null) - `supplier.contactList.phoneNumber2` (string,null) - `supplier.contactList.title` (string,null) - `supplier.contractsCount` (integer) - `supplier.intraCommunityVatIdentificationNumber` (string,null) - `supplier.isBillingAddressSameAsPostalAddress` (boolean) - `supplier.isImported` (boolean) - `supplier.mediaId` (string,null) - `supplier.mediaUrl` (string,null) - `supplier.name` (string) - `supplier.postalCity` (string,null) - `supplier.postalCountryCode` (integer,null) Enum: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249 - `supplier.postalRecipientLabel` (string,null) - `supplier.postalStreet1` (string,null) - `supplier.postalStreet2` (string,null) - `supplier.postalStreet3` (string,null) - `supplier.postalZipCode` (string,null) - `supplier.reference` (string) - `supplier.serviceProvided` (string,null) - `supplier.siren` (string,null) - `supplier.siret` (string,null) - `supplier.webSite` (string,null) ## Response 400 fields (text/plain): - `error` (string)