PUT api/stores/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UpdateStoreDto
NameDescriptionTypeAdditional information
StoreName

string

Required

String length: inclusive between 0 and 150

Description

string

String length: inclusive between 0 and 2000

CategoryId

integer

None.

LogoUrl

string

String length: inclusive between 0 and 255

CoverImageUrl

string

String length: inclusive between 0 and 255

Province

string

None.

District

string

None.

Municipality

string

None.

Town

string

None.

Village

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

ServiceRadiusKm

decimal number

None.

ContactPhone

string

None.

ContactEmail

string

None.

WhatsAppNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "storeName": "sample string 1",
  "description": "sample string 2",
  "categoryId": 1,
  "logoUrl": "sample string 3",
  "coverImageUrl": "sample string 4",
  "province": "sample string 5",
  "district": "sample string 6",
  "municipality": "sample string 7",
  "town": "sample string 8",
  "village": "sample string 9",
  "latitude": 1.1,
  "longitude": 1.1,
  "serviceRadiusKm": 10.0,
  "contactPhone": "sample string 11",
  "contactEmail": "sample string 12",
  "whatsAppNumber": "sample string 13"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.