Entities and methods to handle baskets and payments.
STORM API
/Shopping Service
/- List saved baskets for a customer
Clear basket
Close basket for post purchases
Create basket
Delete a basket
Remove item from basket
Delete a saved basket
Get a basket
Insert an item in a basket
Insert several items in a basket
Insert a strucutre item into basket
Insert items into a basket post purchase
Check if post purchase is possible
List baskets by status
List basket statuses
List basket types
Save a basket
Attest a basket
Update a basket [Obsolete("Deprecated, use UpdateBasket2")]
Update a basket (v2)
Update a basket item
Update a structure basket item quantity
Update several basket items
List saved baskets for a...
Documentation ShoppingService (1.1)
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListBasketTypes
- cURL
- JS
- C#
curl -i -X GET \
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListBasketTypes
Response
[ { "Id": 0, "Name": "string", "Description": "string", "ImageKey": "string", "Code": "string" } ]
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListSavedBaskets
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListSavedBaskets?customerId=0'
Response
[ { "Id": 0, "Name": "string", "Created": "2019-08-24T14:15:22Z", "CustomerId": 0, "ValidTo": "2019-08-24T14:15:22Z" } ]
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/SaveBasket
- cURL
- JS
- C#
curl -i -X POST \
'https://demo.storm.io/api/1.1/ShoppingService.svc/rest/SaveBasket?customerId=0&basketId=0&name=string'
Response
{ "Id": 0, "Name": "string", "Created": "2019-08-24T14:15:22Z", "CustomerId": 0, "ValidTo": "2019-08-24T14:15:22Z" }