GET api/ShoppingCart/GetMyCart?isVirtual={isVirtual}&CustomerId={CustomerId}&ShoppingCartId={ShoppingCartId}&RegionId={RegionId}
Documentation for 'GetMyCart'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| isVirtual | Documentation for 'isVirtual'. |
Define this parameter in the request URI. |
| CustomerId | Documentation for 'CustomerId'. |
Define this parameter in the request URI. |
| ShoppingCartId | Documentation for 'ShoppingCartId'. |
Define this parameter in the request URI. |
| RegionId | Documentation for 'RegionId'. |
Define this parameter in the request URI. |
| dataShoppingCartLatest | Documentation for 'dataShoppingCartLatest'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"ID": "fa460b4c-2d28-48af-b1e8-b63d35aa58bd",
"CustomerID": "d72ad97d-ed4e-4474-ae36-5e48777ee8ab",
"Created": "2026-06-06T04:31:38.7896144+07:00",
"Updated": "2026-06-06T04:31:38.7896144+07:00",
"Total": 1.0,
"PromoSelect": "sample string 4",
"VBKCode": "sample string 5",
"VBKNominal": 1.0,
"VBKExpiredDate": "2026-06-06T04:31:38.7896144+07:00",
"VoucherPlaza": 1.0,
"VoucherStore": 1.0,
"VBKID": "sample string 6",
"VoucherDetail": "sample string 7",
"CustomerAddressID": "e3eb9eca-edb0-42c0-a320-e73593da7e5f",
"AddressTypeStore": 1,
"AddressTypePlaza": 1,
"StoreDefaultIStore": "sample string 8",
"StoreDeliveryType": "sample string 9",
"StoreDefaultIPlaza": "sample string 10",
"ShippingPreferTime": "2026-06-06T04:31:38.7896144+07:00",
"ShippingDate": "2026-06-06T04:31:38.7896144+07:00",
"IsIStore": true,
"IsPlaza": true,
"IsAlreadyPaid": true,
"IsHaveCoupon": true,
"Longitude": 1.0,
"Latitude": 1.0,
"OrderDeliveryNote": "sample string 11",
"CouponCodeCashback": "sample string 12",
"CouponPromoCashback": "sample string 13",
"EntityKey": null
}
application/xml, text/xml
Sample:
<ShoppingCart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ID>fa460b4c-2d28-48af-b1e8-b63d35aa58bd</ID> <CustomerID>d72ad97d-ed4e-4474-ae36-5e48777ee8ab</CustomerID> <Created>2026-06-06T04:31:38.7896144+07:00</Created> <Updated>2026-06-06T04:31:38.7896144+07:00</Updated> <Total>1</Total> <PromoSelect>sample string 4</PromoSelect> <VBKCode>sample string 5</VBKCode> <VBKNominal>1</VBKNominal> <VBKExpiredDate>2026-06-06T04:31:38.7896144+07:00</VBKExpiredDate> <VoucherPlaza>1</VoucherPlaza> <VoucherStore>1</VoucherStore> <VBKID>sample string 6</VBKID> <VoucherDetail>sample string 7</VoucherDetail> <CustomerAddressID>e3eb9eca-edb0-42c0-a320-e73593da7e5f</CustomerAddressID> <AddressTypeStore>1</AddressTypeStore> <AddressTypePlaza>1</AddressTypePlaza> <StoreDefaultIStore>sample string 8</StoreDefaultIStore> <StoreDeliveryType>sample string 9</StoreDeliveryType> <StoreDefaultIPlaza>sample string 10</StoreDefaultIPlaza> <ShippingPreferTime>2026-06-06T04:31:38.7896144+07:00</ShippingPreferTime> <ShippingDate>2026-06-06T04:31:38.7896144+07:00</ShippingDate> <IsIStore>true</IsIStore> <IsPlaza>true</IsPlaza> <IsAlreadyPaid>true</IsAlreadyPaid> <IsHaveCoupon>true</IsHaveCoupon> <Longitude>1</Longitude> <Latitude>1</Latitude> <OrderDeliveryNote>sample string 11</OrderDeliveryNote> <CouponCodeCashback>sample string 12</CouponCodeCashback> <CouponPromoCashback>sample string 13</CouponPromoCashback> </ShoppingCart>
Response Information
Response body formats
application/json
Sample:
text/json
Sample: