Get a basket

Gets a Basket by id. Returns null if not found.

Request
query Parameters
id
required
integer <int32>

The basket id of the Basket to fetch.

pricelistSeed
string

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.

cultureCode
string

Specifies in which language to display culture specific information. If none is supplied, value is resolved from Application.

currencyId
string

Internal id that specifies in which currency to display prices. If none is supplied, value is resolved from Application.

Responses
200

Success

500

Internal Server Error

get/ShoppingService.svc/rest/GetBasket
Response samples
{
  • "Id": 0,
  • "CustomerId": 0,
  • "CompanyId": 0,
  • "SalesContactId": 0,
  • "StatusId": 0,
  • "CurrencyId": 0,
  • "CurrencyCode": "string",
  • "Comment": "string",
  • "OrderReference": "string",
  • "DiscountCode": "string",
  • "ReferId": 0,
  • "ReferUrl": "string",
  • "ValidTo": "2019-08-24T14:15:22Z",
  • "IsEditable": true,
  • "Items": [
    ],
  • "Info": [
    ],
  • "Summary": {
    },
  • "AppliedPromotions": [
    ],
  • "IpAddress": "string",
  • "AttestedBy": 0,
  • "TypeId": 0,
  • "DoHold": true,
  • "IsBuyable": true,
  • "InvoiceReference": "string",
  • "PaymentMethodId": 0,
  • "DeliveryMethodId": 0,
  • "SalesAreaId": 0
}