Guides
Shipping , Delivery and carrier presets
It is possible to use presets whiles placing an order or calculating a price.
These preset remove the necessity to supply a shipping date or carrier. You add these presets on the deliveries level.
Shipping Method Presets
Usage for shipping_method_preset
| Status | Explanation | 
|---|---|
| cheapest | Auto-selects the cheapest delivery method for the selected order | 
| fastest | Auto-selects the cheapest delivery method for the selected order | 
If you do not want that the order is shipped with PostNL, DHL, ONB, etc. you should not use these presets
Example shipping preset
{
  "deliveries": {
    "address": "...",
    "shipping_method_preset": "cheapest"
  }
}
Delivery Presets
Usage for delivery_date_preset
| Status | Explanation | 
|---|---|
| cheapest | The cheapest delivery date. | 
| fastest | The fastest delivery date. | 
Example delivery preset
{
  "deliveries": {
    "address": "...",
    "delivery_date_preset": "cheapest"
  }
}
Combining Presets
It is possible to combine the presets for delivery and shipping.
Example
{
  "deliveries": {
    "address": "...",
    "delivery_date_preset": "cheapest"
    "shipping_method_preset": "cheapest"
  }
}
Forcing a carrier
Besides the shipping presets, setting a preferred carrier for your shipment is possible. This is helpful when you only want PostNL for example for your deliveries. The option carrier_code only works together with presets.
Example Carrier_code
{
  "deliveries": {
    "address": "...",
    "delivery_date_preset": "cheapest"
    "shipping_method_preset": "cheapest",
    "carrier_code": "onb" // example
  }
}