← API Index


SaveCartResult (v1)

Result of saving the current cart server-side (/api/client/savecart1)

# Field Type Description
0 action string the action that was performed
1 result string the exit/result code of the action
2 oid int id of the order this cart has been saved into by cart autosave. 0 if the cart only lives in the session: autosave is off for this customer, the cart is not storable yet (see result, e.g. below_mbw), or this was the very first change of a new cart
3 autosave bool true if cart autosave is active for this customer (shop setting cartAutosave AND customer opt-in customers.autosave); only then can oid be set

Used in endpoints

Referenced in skills