Cart Method
check_cart
Every time a customer changes the contents of the cart in the Mobile Website or apps this action will be requested to validate the contents.
This is currently used to validate coupons, check the stock of the items and return shipping
service providers of the shopping cart system. Future applications include a change of products for the cart contents.
Coupon Error Codes
Code |
Description |
200 |
the coupon is not valid |
201 |
the coupon code is not valid |
202 |
products for coupon are not valid |
203 |
delivery address for coupon is not valid |
204 |
user is not valid for coupon |
205 |
too many coupons in cart |
Item Error Codes
Code |
Description |
300 |
product is not in stock |
301 |
product not found |
302 |
less stock available than requested |
303 |
product input validation failed: text too long |
304 |
requested quantity is lower than required minimum quantity |
305 |
requested quantity is higher than allowed maximum quantity |
206 |
products can not be ordered together |
207 |
product not allowed in cart constellation |