- Products
- Product Categories
- Team
- Employees
- Orders
- Discount Codes
- Purchase Order Management
- Reports
-
Channel - Website
- Articles
- Data Object: Article
- Data Object: Brand
- Data Object: Cities
- Data Object: Countries
- Data Object: Customer
- Data Object: Order
- Data Object: Payment Method
- Data Object: Predefined Objects
- Data Object: Product
- Data Object: Product Categories
- Data Object: Product Set
- Data Object: Promo Banners
- Data Object: Property
- Data Object: Property Group
- Data Object: Shipping Rates
- Data Object: Shopping Cart
- Data Object: Slider
- Data Object: States
- Data Object: Wish List
- End Point: Account
- End Point: Order
- End Point: Send Email
- End Point: Shopping Cart
- End Point: Subscribe
- End Point: Wish List
- Promo Banners
- Sliders
- Twig - Template Engine
- Channel - POS
Data Object: Shopping Cart
Get Shopping Cart
{{ data.cart.get() }}
HTTP/1.1 200 OK { id: 5, userId: 10, guestSessionId: "45522ssdf", totalAmount: 10000, currencyId: 1, currencyName: "AMD", created: "2017-03-16 16:00", updated: "2017-03-20 20:00", items: [ { id: 15, shoppingCartId: 5, productId: 155, product: { See "Get Product" }, quantity: 2, created: "2017-03-20 18:00", updated: "2017-03-20 20:00" }, ... ] }
Parameter | Type | Description |
id | int | Cart identifier |
userId | int | Authenticated customer identifier |
guestSessionId | string | Guest session identifier |
totalAmount | float | Cart items total amount |
currencyId | int | Currency identifier |
currencyName | string | Currency name |
created | string | Cart creation date |
updated | string | Cart modified date |
items | array | Wish list items |
item.id | int | Cart item identifier |
item.productId | int | Cart item product identifier |
item.product | obj | Cart item product entity |
item.quantity | int | Cart item quantity |
item.created | string | Cart item creation date |
item.updated | string | Cart item modified date |