Documentation

Headless Checkout API - Reference



Overview

Ingrid provides HTTP endpoints returning data in JSON format. We provide you with two environments:



Object Reference

Addon

An Addon represents an additional service or feature offered with a delivery.

Address

Represents an address suitable for delivery.

Any

CompleteSessionResponse

Response message for completing a session.

Contact

Contact represents generic contact information.

ContactPhoneNumber

A phone number, including region and optional extension.

Coordinates

Represents a latitude/longitude pair. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

Delivery

The delivery represents a single delivery of goods to a recipient. It includes information about the goods, the recipient details, the fulfillment methods and the delivery options.

DeliveryCategory

The DeliveryCategory represents a grouping of delivery options that share the same type and other characteristics.

DeliveryCategoryWarehouse

Information about a warehouse. All this data is stored in the site configuration.

DeliveryChoice

The DeliveryChoice represents what option is selected for the given delivery.

DeliveryOption

The DeliveryOption represents the details of a specific delivery option.

DeliveryOptionCarrier

The Carrier contains details about the shipping carrier associated with this delivery option.

DeliveryServiceCompleteSessionBody

Request message for completing a session.

Distance

Generic distance

ETD

ETD stands for Estimated Time of Delivery.

ETDAbsolute

Absolute represents an ETD as a single or pair of timestamps.

ETDCustom

Custom represents an ETD in a human-readable text format.

ETDRelative

Relative represents an ETD as a range of time units.

Fulfillment

A Fulfillment details when a delivery can be fulfilled.

FulfillmentReadiness

Readiness specifies a time range when the goods will be ready for shipment.

LineItem

Represents a single item.

LineItemDimensions

Represents the dimensions of the item.

PickupLocation

The PickupLocation represents a physical location from which a delivery can be retrieved.

PickupLocationDistances

Distances define the walking and driving distances to the pickup location.

PickupLocationOperationalHours

OperationalHours define when the pickup location is operating.

PickupLocationSection

Section provides extra information about the pickup location.

SectionColumn

Column contains a list of items displayed in a single section column.

SectionItem

Item represents a single piece of information in a section.

Session

A Session is the primary resource for handling the delivery options and the customer lifecycle.

SessionPurchase

Purchase describes purchase experience. Q(grigagod): shoud we stick to a main cart concept?.

Status

Last updated: Thu, May 29, 06:39 AM