PUT api/Vendors/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Vendor
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastModified

date

None.

VendorName

string

None.

UserID

string

None.

Enabled

boolean

None.

LiquorLicense

string

None.

VatNumber

string

None.

Logo

string

None.

RegistrationNo

string

None.

Banned

boolean

None.

BanReason

string

None.

TempLogo

Collection of byte

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

CategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-11T12:04:10.6038471+02:00",
  "LastModified": "2025-12-11T12:04:10.6038471+02:00",
  "VendorName": "sample string 2",
  "UserID": "sample string 3",
  "Enabled": true,
  "LiquorLicense": "sample string 4",
  "VatNumber": "sample string 5",
  "Logo": "sample string 6",
  "RegistrationNo": "sample string 7",
  "Banned": true,
  "BanReason": "sample string 9",
  "TempLogo": "QEA=",
  "Longitude": 1.1,
  "Latitude": 1.1,
  "CategoryId": 10
}

application/xml, text/xml

Sample:
<Vendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <BanReason>sample string 9</BanReason>
  <Banned>true</Banned>
  <CategoryId>10</CategoryId>
  <DateCreated>2025-12-11T12:04:10.6038471+02:00</DateCreated>
  <Enabled>true</Enabled>
  <LastModified>2025-12-11T12:04:10.6038471+02:00</LastModified>
  <Latitude>1.1</Latitude>
  <LiquorLicense>sample string 4</LiquorLicense>
  <Logo>sample string 6</Logo>
  <Longitude>1.1</Longitude>
  <RegistrationNo>sample string 7</RegistrationNo>
  <TempLogo>QEA=</TempLogo>
  <UserID>sample string 3</UserID>
  <VatNumber>sample string 5</VatNumber>
  <VendorName>sample string 2</VendorName>
  <id>1</id>
</Vendor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.