Documentation

Object Reference

AdditionalInfo

Additional meta information related to the session.

Address

Common address entity that used almost everywhere in Ingrid's API.

Addresses

All address information related to one delivery group.

Any

BillingAddress

CarrierAddon

Carrier specific addons

Cart

Cart information from the e-commerce store. Information in here is used by the shipping rule engine to calculate the best shipping option for the customer.

CartGroup

Optional specification of group to which the cart items should be assigned.

CartItem

Product in the shopping cart

CompleteSessionRequest

CompleteSessionResponse

Coordinates

Geolocation coordinates

CreateSessionRequest

CreateSessionResponse

CustomerAddress

DateTimeRange

Provides a date interval. Depending on a case, `start` and `end` parts are not guaranteed to be present.

DeliveryAddress

DeliveryGroup

Summary of the order.

DeliveryGroupCategory

The Delivery Category selected by the User.

DeliveryGroupDeliveryAddon

Specifies a single selected addon.

DeliveryGroupDeliveryTime

Listing of Delivery Time Components produced by the Ingrid Delivery Checkout.

DeliveryGroupDeliveryTimeRange

DeliveryGroupItem

Item that belongs to a delivery group.

DeliveryGroupPricing

The price of the delivery promise from Ingrid Delivery Checkout. Given as a total or divided into it is components for cases such as separating eg. Delivery Addons selected by the user during checkout.

DeliveryGroupSelection

Specifies how selection of Delivery Promise was obtained.

- DELIVERY_GROUP_SELECTION_UNDEFINED: Delivery Checkout failed to compute the selection reason for the delivery option use.
- USER_CHOICE: Delivery option selection was done by the end user.
- PRESELECTED_CHOICE: The preselected delivery option was used for selection. End user did not change delivery option from what was preselected.
- FALLBACK_FROM_USER_CHOICE: The user choice could not be respected when completing the session. Eg. due to carrier not covering the delivery address used for completing the session.
- FALLBACK_FROM_PRESELECTED_CHOICE: The preselected choice could not be respected when completing the session. Eg. due to carrier not covering the delivery address used for completing the session.
- FALLBACK_FAILED_FOR_USER_CHOICE: Selection was made based on user choice and fallback failing.
- FALLBACK_FAILED_FOR_PRESELECTED_CHOICE: Selection was made based on preselected choice and fallback failing.

Enum Values:
  • DELIVERY_GROUP_SELECTION_UNDEFINED
  • USER_CHOICE
  • PRESELECTED_CHOICE
  • FALLBACK_FROM_USER_CHOICE
  • FALLBACK_FROM_PRESELECTED_CHOICE
  • FALLBACK_FAILED_FOR_USER_CHOICE
  • FALLBACK_FAILED_FOR_PRESELECTED_CHOICE

DeliveryGroupShipping

How the package should be shipped to the end customer.

DeliveryGroupWarehouse

Dimensions

Dimensions of an item in millimeters.

Distance

Walking and driving distance information (if available). This depends if we could reverse geolocate supplied address and succeeded in finding a nearest route from A to B. Usually only available for distance information between address provided by the customer and service point address.

DistanceSpec

Generic distance object used by Distance object to provide driving and walking information.

Error

GetSessionResponse

GroupContent

LegLocation

LegLocation represents a location that takes part in a delivery.

LegLocationLocationType

LocationType represents a type of a location that takes part in a delivery.

Enum Values:
  • LOCATION_TYPE_UNKNOWN
  • LOCATION_TYPE_WAREHOUSE
  • LOCATION_TYPE_STORE
  • LOCATION_TYPE_HOME
  • LOCATION_TYPE_PICKUP

ListSessionsSummariesResponse

Contains the list of session IDs with result fields.

OperationalHours

Service points's operational hours

PickupLocation

Contains information about the pickup service point as returned by the carrier.

PickupLocationType

Indicates the kind of pickup location

Enum Values:
  • UNKNOWN_PICKUP_LOCATION_TYPE
  • LOCKER
  • STORE
  • POSTOFFICE
  • MANNED

PriceComponent

Specifies a single price component.

PriceComponentType

Enum Values:
  • PRICE_COMPONENT_TYPE_UNDEFINED
  • PRICE_COMPONENT_TYPE_SHIPPING
  • PRICE_COMPONENT_TYPE_ADDON
  • PRICE_COMPONENT_TYPE_RETURN

Route

Route represents a list of delivery steps.

SearchAddress

Section

SectionColumnItem

SectionItem

Session

Contains information about the current session. Each session is unique for every customer transaction

SessionSessionStatus

Enum Values:
  • UNKNOWN
  • ACTIVE
  • COMPLETE

SessionSummary

ShippingDate

Information about possible shipping dates.

ShippingDateTag

ShippingLeg

ShippingLeg represents a single step of package delivery.

Supports

Contains information about features that a shipping option supports. Configurable in Merchant Admin tool.

Tag

UpdateSessionRequest

UpdateSessionResponse

Last updated: Fri, Jun 20, 06:15 AM