Entities and methods to handle baskets and payments.
- List baskets by status
Documentation ShoppingService (1.1)
Request
Should be called before deciding whether to show post purchase functionality on the redirect page. This call is needed becuase it is not until the purchase is done that we can anwser this. Note that even if we anwser yes here the call to InsertItemsPostPurchase might fail regardless, since the PSP can reject the update even if it should be possible (due to risk assesments etc).
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/IsPostPurchasePossbile
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/ShoppingService.svc/rest/IsPostPurchasePossbile?basketId=0'
The internal company id for which baskets are fetched. Either this a customerId or salesContactId must be specified.
The internal customer id for which baskets are fetched. Either this a companyId or salesContactId must be specified.
The internal salesContact id for which baskets are fetched. Either this a companyId or customerId must be specified.
Page numbers start with 1. Default is 1. If you specify a pageNo outside the range of items, an empty list will be returned. PageSize is mandatory for pageNo to work.
A comma separated list of internal pricelist ids to use, if any. PriceLists supplied must be valid, either from the application's public priceList or any customer or company priceLists or any valid client priceLists. For clients configured to use priceListSeed exclusively in the API only the supplied priceLists will be used. If this is not configured, the supplied priceLists will be appended to the valid priceLists. If none is supplied, the default value for the application will be used in combination with any customer or company priceLists. This applies to both configurations.
Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListBasketsByStatus
- cURL
- JS
- C#
curl -i -X GET \
'https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListBasketsByStatus?companyId=string&customerId=string&salesContactId=string'
{ "ItemCount": 0, "Items": [ { … } ] }
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListBasketStatuses
- cURL
- JS
- C#
curl -i -X GET \
https://demo.storm.io/api/1.1/ShoppingService.svc/rest/ListBasketStatuses
[ { "Id": 0, "Name": "string", "Description": "string", "ImageKey": "string", "Code": "string" } ]