> The index of all pages is at [llms.txt](https://developers.qliro.com/llms.txt). Add `.md` to any page URL for its Markdown.

# Integrated shipping (/qliro-checkout/checkout-features/integrated-shipping)

## Overview

Integrated shipping presents your shipping options to the customer in the checkout. You can customize how the options are presented.

There are three options:

* **Merchant provided.** You handle all the shipping logic and send the options to present to the customer.
* **nShift.** Use this option if you use nShift Delivery checkout. Qliro Checkout then handles all shipping interactions with customers through nShift.
* **Ingrid.** Qliro Checkout works with the Ingrid delivery platform. You configure your shipping preferences in Ingrid, and the checkout displays them to the customer.

### Merchant provided

You decide which options to present to the customer. Send them in the create order call, or as a response to Qliro's request to `MerchantOrderAvailableShippingMethodsUrl`. When the customer changes address or the cart updates, Qliro sends a POST request to that URL. You can then update the shipping options.

**Example**

```json
{
  "AvailableShippingMethods": [
    {
      "MerchantReference": "HOME_DELIVERY",
      "ShippingFeeMerchantReference": "SHIPPING_FEE_REF_1",
      "DisplayName": "Home Deliver",
      "Descriptions": ["Expected date", "Expected time"],
      "Brand": "DHL",
      "PriceIncVat": 300,
      "PriceExVat": 200,
      "OriginalPrice": 0,
      "SupportsAccessCode": true,
      "SupportsDynamicSecondaryOptions": true,
      "SecondaryOptions": [
        {
          "MerchantReference": "UniqueMerchantReference",
          "DisplayName": "Pickup location 1",
          "Descriptions": ["Address", "Hours"],
          "Coordinates": { "Lat": 59.349962, "Lng": 18.04763 },
          "DeliveryDateInfo": {
            "DateStart": "2099-01-01",
            "DateEnd": "2099-01-01",
            "Unit": "Date"
          }
        }
      ],
      "AdditionalShippingServices": [
        {
          "MerchantReference": "ADDITIONAL_SHIPPING_SERVICE_1",
          "DisplayName": "Express delivery",
          "Descriptions": ["Faster delivery"],
          "PriceExVat": 100,
          "PriceIncVat": 150,
          "DeliveryDate": "2099-01-01",
          "DeliveryDateInfo": {
            "DateStart": "2099-01-01",
            "DateEnd": "2099-01-01",
            "Unit": "Date"
          }
        }
      ],
      "DeliveryDate": "2099-01-01",
      "CategoryDisplayName": "HOME_DELIVERY",
      "LabelDisplayName": "Name",
      "DeliveryDateInfo": {
        "DateStart": "2099-01-01",
        "DateEnd": "2099-01-01",
        "Unit": "Date"
      }
    }
  ]
}
```

For the request and response parameters in the create order call and the error codes, see the [API Reference](https://developers.qliro.com/api-reference/merchant/orders/create-order).

For the Update Shipping Methods push, see [Notifications](https://developers.qliro.com/qliro-checkout/get-started/notifications-checkout#update-shipping-methods).

**Recommendations**

* To present only static options, send them in the create order call.
* You can update shipping options with update order. Qliro recommends `MerchantOrderAvailableShippingMethodsUrl` instead, for a better customer experience.

## nShift

You can integrate nShift checkout so that Qliro Checkout handles all shipping communication with nShift.

<Callout type="info">
The Qliro API refers to nShift by its previous name "Unifaun".
</Callout>

### How-to

**1. Contact merchant solutions**

Contact merchant solutions to activate the feature on your account.

**2. Create nShift configuration**

Create a new checkout configuration on the nShift side with the Qliro template.

**3. Specify nShift parameters**

Specify the nShift parameters under the ShippingConfiguration parameter in the create order call.

**4. Qliro fetches shipping info**

Qliro uses the information from create order to get shipping information from nShift.

**5. Iframe updated**

Qliro updates the iframe with the shipping information.

**6. Retrieve order information**

Use getOrder to retrieve information about the order. Pass the OrderID to nShift as "preparedID".

**Example**

```json
{
  "ShippingConfiguration": {
    "Unifaun": {
      "CheckoutId": "string",
      "Tags": {
        "additionalProp1": "string",
        "additionalProp2": "string",
        "additionalProp3": "string"
      }
    }
  }
}
```

## Ingrid

Qliro Checkout works with Ingrid delivery checkout. You set your shipping configuration in Ingrid. Qliro handles all shipping communication with Ingrid and presents the shipping alternatives in the checkout.

### How-to

**1. Share credentials and enable Ingrid**

Contact merchant solutions to activate the feature on your account. Tell them which countries to enable Ingrid in. Provide the Ingrid Credential Key (base 64) as merchant solutions instructs.

**2. Create and update orders with Ingrid enabled**

You can send optional Ingrid-specific metadata for each order item in CreateOrder and UpdateOrder. See the [API documentation](https://developers.qliro.com/api-reference). In merchantProvidedMetadata you can send cart vouchers (key: Ingrid.Vouchers) or cart attributes (key: Ingrid.CartAttributes).

**3. Set up your fallback shipping option**

Send at least one shipping option in the **AvailableShippingMethods** property of the **CreateOrder** and **UpdateOrder** requests. Qliro strongly recommends this. The option is the fallback if the Ingrid API does not respond.

<Callout type="warn">
You can **NOT** use MerchantOrderAvailableShippingMethodsUrl for the fallback. Do not send it if Ingrid is turned on.
</Callout>

**4. Post-purchase administration**

After the purchase is completed, Qliro creates a shipping order item from the shipping method the customer selected. The Ingrid checkout session ID is available on this order item.

Qliro uses MerchantReference as "External ID" when it completes the Ingrid Checkout Session. When Ingrid ships the transport order, set the shipping order item to shipped through the Qliro Admin API.

<Callout type="warn">
You manage the Ingrid transport orders yourself. Do this manually at [https://mad.ingrid.com/](https://mad.ingrid.com/) or through Ingrid's shipment order management API.
</Callout>

## Good to know

* Qliro recommends the Qliro shipping section, which you can customize to your and your customers' needs. For visual customization, see [Custom shipping](https://developers.qliro.com/qliro-checkout/customization/custom-shipping).
* The checkout presents the shipping options in the order you send them. The first option appears at the top and is pre-selected.
* Use the optional listeners onShippingMethodChanged or onShippingPriceChanged to know when the customer changes shipping data. See [Listeners](https://developers.qliro.com/qliro-checkout/frontend-features/listeners).
* The checkout shows a shipping logo if you use the correct tag. Available tags: Airmee, Aramex, Asendia, Best, Bring, Brt, Budbee, Chronopost, Dao, Dpd, Dhl, Dsv, EarlyBird, FedEx, Helthjem, icapaket, Instabikes, Instabox, Oda, Posti, PostNord, Porterbuddy, Schenker, Svosj, Ups

<Cards>
<Card title="Payment methods" href="/qliro-checkout/checkout-features/payment-methods">
Continue to Payment methods
</Card>
</Cards>