POST api/Order/AddCartItem
Request Information
URI Parameters
None.
Body Parameters
ShoppingCart| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ShopID | integer |
None. |
|
| CompanyID | integer |
None. |
|
| MemberID | integer |
None. |
|
| ArticleID | integer |
None. |
|
| Quantity | integer |
None. |
|
| Price | decimal number |
None. |
|
| CreateDate | date |
None. |
|
| Referee | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ShopID": 2,
"CompanyID": 3,
"MemberID": 4,
"ArticleID": 5,
"Quantity": 6,
"Price": 7.0,
"CreateDate": "2026-05-01T12:57:35.2301906+08:00",
"Referee": 9
}
application/xml, text/xml
Sample:
<ShoppingCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProTech.Member.Entity"> <ArticleID>5</ArticleID> <CompanyID>3</CompanyID> <CreateDate>2026-05-01T12:57:35.2301906+08:00</CreateDate> <ID>1</ID> <MemberID>4</MemberID> <Price>7</Price> <Quantity>6</Quantity> <Referee>9</Referee> <ShopID>2</ShopID> </ShoppingCart>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>