Optimization

Adding Package Recommendation to the Checkout

Last updated 27 May 2024

Optimization determines the exact size of the parcel(s) to be sent. This naturally results in more accurate delivery option estimations, especially if coupled with Digital Transport Agreements for cost calculation.

To enable order optimization in the checkout, you simply need to:

  • Onboard your packages.
  • Contact Skrym to enable the optimization in the checkout

It is also always suggested to onboard product data to easily enable any integration.

To read more about how our order optimization works, head over to Package Optimization.

Skrym follows specific steps to determine which products should be sent for optimization. The process involves:

  1. Checking Product Type: Skrym examines the products type field to identify physical products eligible for optimization. Non-physical products are excluded from the optimization flow.

  2. Extracting Product Data: Skrym retrieves product dimensions and weight for optimization in two ways:

    2.1 From the Request: If the request contains product dimensions for all physical products, Skrym uses that data for a checkout optimization (although this still requires onboarded package data).

    2.2 From the Database: You can onboard products and utilize their dimensions for optimization. To use this approach, you must provide an external ID (reference) in the order and set the onboard-products checkout preference to true under klarna-shipping-assistant / API.