PATCH api/v1/Stores
Patch Store by id, only fields in the request are updated
Request Information
URI Parameters
None.
Body Parameters
PatchStoreDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of Store |
integer |
Required |
Number |
Unique number of the store |
string |
String length: inclusive between 0 and 25 |
Name |
Meaningful name of the store |
string |
String length: inclusive between 0 and 100 |
Phone |
Phone of the store |
string |
String length: inclusive between 0 and 20 |
Address |
Address of the store |
string |
String length: inclusive between 0 and 100 |
ZipCode |
Zip code of the store |
string |
String length: inclusive between 0 and 10 |
City |
City of the store |
string |
String length: inclusive between 0 and 50 |
Email of a store |
string |
String length: inclusive between 0 and 250 |
|
JsonString |
Json string for additional data |
string |
None. |
Request Formats
application/json, text/json
{ "Id": 1, "Number": "sample string 2", "Name": "sample string 3", "Phone": "sample string 4", "Address": "sample string 5", "ZipCode": "sample string 6", "City": "sample string 7", "Email": "sample string 8", "JsonString": "sample string 9" }
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ReadStoreDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of Store |
integer |
Required |
Number |
Unique number of the store |
string |
Required String length: inclusive between 0 and 25 |
LastModified |
Date-time of when store was last modified |
date |
None. |
Name |
Meaningful name of the store |
string |
String length: inclusive between 0 and 100 |
Phone |
Phone of the store |
string |
String length: inclusive between 0 and 20 |
Address |
Address of the store |
string |
String length: inclusive between 0 and 100 |
ZipCode |
Zip code of the store |
string |
String length: inclusive between 0 and 10 |
City |
City of the store |
string |
String length: inclusive between 0 and 50 |
Email of a store |
string |
String length: inclusive between 0 and 250 |
|
JsonString |
Json string for additional data |
string |
None. |
Response Formats
application/json, text/json
{ "Id": 1, "Number": "sample string 2", "LastModified": "2024-11-21T06:26:48.6879491+00:00", "Name": "sample string 4", "Phone": "sample string 5", "Address": "sample string 6", "ZipCode": "sample string 7", "City": "sample string 8", "Email": "sample string 9", "JsonString": "sample string 10" }