v1
latestOpenAPI 3.0.32026-07-268955212.1 KBsuppliers
[Preview] Update a supplier
Update an existing supplier for the company.
Scope: suppliers:write
put/companies/{companyId}/suppliers/{supplierId}
Request body
Example request
{
"id": "12345678-abcd-1234-abcd-1234567890ab",
"name": "Example Supplier",
"orgNumber": "556677-8899",
"vatNumber": "SE123456789001",
"currency": "SEK",
"address": {
"line1": "Älvsborgsvägen 10",
"line2": "c/o Test",
"city": "Gothenburg",
"postalCode": "123 45",
"country": "SE"
},
"paymentDetails": {
"type": "bankgiro",
"bankgiroNumber": "1234-5678"
}
}Response
Supplier updated
Example response
{
"id": "12345678-abcd-1234-abcd-1234567890ab",
"name": "Example Supplier",
"orgNumber": "556677-8899",
"vatNumber": "SE123456789001",
"currency": "SEK",
"address": {
"line1": "Älvsborgsvägen 10",
"line2": "c/o Test",
"city": "Gothenburg",
"postalCode": "123 45",
"country": "SE"
},
"paymentDetails": {
"type": "bankgiro",
"bankgiroNumber": "1234-5678"
}
}