API ReferenceSuppliers
Update a supplier
Update a supplier
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:18080/api/v1/suppliers/string" \ -H "Content-Type: application/json" \ -d '{ "bankAccounts": [ { "accountNumber": "string" } ], "contacts": [ { "email": "string", "firstName": "string", "id": "string", "lastName": "string", "phone": "string" } ], "name": "string" }'{
"address": {
"city": "string",
"country": "string",
"houseNumber": "string",
"id": "string",
"latitude": 0.1,
"longitude": 0.1,
"postalCode": "string",
"street": "string"
},
"bankAccounts": [
{
"accountHolder": "string",
"accountNumber": "string",
"bankName": "string",
"bic": "string",
"currency": "string"
}
],
"cocNumber": "string",
"contacts": [
{
"department": "string",
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string",
"phone": "string"
}
],
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"email": "user@example.com",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"name": "string",
"number": "string",
"phone": "string",
"subsidiaryId": "string",
"taxNumber": "string",
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}