POST api/shoppingcart/editcart
修改購物車
Request Information
URI Parameters
None.
Body Parameters
UpdateCartRQContractName | Description | Type | Additional information |
---|---|---|---|
memberid |
會員ID |
integer |
None. |
guestid |
游客ID |
string |
None. |
tourid |
詳細ID |
integer |
None. |
adult |
成人個數 |
integer |
None. |
child |
兒童個數 |
integer |
None. |
infant |
嬰兒個數 |
integer |
None. |
elderly |
老人個數 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "memberid": 1, "guestid": "sample string 2", "tourid": 3, "adult": 4, "child": 5, "infant": 6, "elderly": 7 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
修改購物車
ReturnResultOfBooleanName | Description | Type | Additional information |
---|---|---|---|
data | boolean |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": true, "code": 2, "message": "sample string 3" }