Service URL: DELETE /baskets/{basketReference}/items
Tokens:t
basketReference – The basket reference of the basket to add the item to, or can be ‘PRIMARY’ to add to the PRIMARY basket.
Response Body:
Remarks:
Removes all items from the basket. All existing basket information is kept.
Scenario | Outcome | Expected behaviour | Status Code | Response | |
---|---|---|---|---|---|
1 | Service is given a valid basket reference | Success | The basket items are removed. | 200 | 200 Success ok |
2 | Service is given a invalid basket reference | NotFound | The basket items are not removed. | 404 | ErrorMessage |