Ingrid Integration
Omnium offers integration with Ingrid, enabling seamless order management. Orders added to Omnium that include an Ingrid transport order ID can be processed directly through Omnium. The Ingrid widget can be activated in the Omnium user interface, allowing users to create new shipments effortlessly.
Omnium - Ingrid setup
Configuring Omnium: Adding a new shipping provider
-
Navigate to the configuration settings:
Configuration -> Settings -> Orders -> Shipping Providers -
Add the following details:
- Name: Enter the name of the provider.
- Display Name: Specify the name to be shown to users.
- Provider: Select "Ingrid."
- Merchant Secret: Retrieve this from the Ingrid portal. Use the Base64-encoded private key.
- Base URL:
- For testing:
https://api-stage.ingrid.com/v1
- For production:
https://api.ingrid.com/v1
- For testing:
-
Enable the Ingrid Widget in the Omnium UI (Optional):
- Vue Template: Set the template to
ingrid-provider
. - Turn On: Enable the Display in OMS option.
- Vue Template: Set the template to
This configuration will integrate Ingrid as a shipping provider within Omnium and allow the use of the Ingrid widget in the user interface.
Ingrid shipment options
Adding shipment options for each market
Under each market, define the shipment options you provide in your webshop:
-
Include the following details:
- Shipping Provider: Set as "Ingrid."
- Delivery Type:
- Use
Delivery
if the package is sent to the customer (e.g., home delivery, pickup points). - Use
Pickup
if the customer collects the package at a store or warehouse.
- Use
- Display Name: Enter a user-friendly name for the option.
- Shipping Method: Provide the system name or shipping code from Ingrid (e.g.,
pnl-mph
for Postnord home delivery).
-
Navigate to the Property Tab:
- Mark the option as Hidden in OMS to ensure shipment options are selected through the Ingrid widget.
Webshop creates the Ingrid transport order, and Omnium books the shipment
Integration Flow:
- In your webshop, when users select a shipment option provided by Ingrid, a corresponding shipment should be added to their cart.
- Ensure your webshop creates the Ingrid transport order.
- Omnium will then book the shipment based on the transport order details.
Storing the tosId for shipments
Add TosId to the Shipment property list:
- Include a key named IngridTosId in the property list of the shipment.
- Assign the ID from Ingrid as the value for this key.
Important
If the IngridTosId is not provided, Omnium will be unable to book the shipment.