Empty cart
Shopping cart Ajax API is used for shopping cart interaction generated by customers during the session. This interface can be called when the shopping cart needs to be emptied.
Request information
API Path:
POST https://{handle}.myshopline.com/cart/clear
Request header:
| Parameter name | Parameter type | Required or not | Array or not | Default value | describe |
|---|---|---|---|---|---|
| Content-Type | String | Y | N | application/json | |
| cookie | String | Y | N | session cookie |
Response information
See return example