POST api/shop/put/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
yoshop_store_shop| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| shop_name | string |
Required String length: inclusive between 0 and 500 |
|
| logo_image_id | integer |
None. |
|
| linkman | string |
Required String length: inclusive between 0 and 50 |
|
| phone | string |
Required String length: inclusive between 0 and 50 |
|
| shop_hours | string |
Required String length: inclusive between 0 and 50 |
|
| province_id | integer |
None. |
|
| city_id | integer |
None. |
|
| region_id | integer |
None. |
|
| address | string |
Required String length: inclusive between 0 and 500 |
|
| longitude | string |
Required String length: inclusive between 0 and 50 |
|
| latitude | string |
Required String length: inclusive between 0 and 50 |
|
| geohash | string |
Required String length: inclusive between 0 and 50 |
|
| summary | string |
Required String length: inclusive between 0 and 1000 |
|
| sort | integer |
None. |
|
| is_check | integer |
None. |
|
| status | integer |
None. |
|
| is_delete | integer |
None. |
|
| supplier_id | integer |
None. |
|
| yoshop_supplier | yoshop_supplier_apply |
None. |
|
| create_time | date |
None. |
|
| update_time | date |
None. |
|
| money | integer |
None. |
|
| freeze_money | integer |
None. |
|
| total_money | integer |
None. |
|
| yoshop_card | Collection of yoshop_card |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SiteListResult| Name | Description | Type | Additional information |
|---|---|---|---|
| msg | string |
None. |
|
| code | integer |
None. |
|
| data | Object |
None. |
|
| count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"msg": "sample string 1",
"code": 2,
"data": {},
"count": 4
}