Update delivery method (v3)

Updates the selected DeliveryMethod on a basket. The DeliveryMethod id should be taken from any valid DeliveryMethod in Checkout.DeliveryMethods.

Request
query Parameters
basketId
required
integer <int32>

The internal id of the basket to update.

deliveryMethodId
required
integer <int32>

The internal id of the DeliveryMethod to select.

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.

dropPointCode
string

The ID of the selected DropPoint (can be null if the deliverymethod does not support it).

dropPointSize
string

Maximum number of drop points to return for each DeliveryMethod. Only used for integrated DeliveryMethod providers such as ShipAdvisor.

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

400

Bad Request

Key: BasketNotEditable. Gets raised when the basket is not editable or already paid for.

Key: InvalidCompanyOnBasket. Gets raised when the basket has an invalid company. The customer does not exist in this company.

Key: QuotationMissing. Gets raised when the basket is missing.

500

Internal Server Error

post/ShoppingService.svc/rest/UpdateDeliveryMethod3
Response samples
{
  • "Basket": {
    },
  • "Buyer": {
    },
  • "Payer": {
    },
  • "ShipTo": {
    },
  • "PaymentMethods": [
    ],
  • "DeliveryMethods": [
    ],
  • "Payments": [
    ]
}