Skip to main content
Type definitions for the order data returned by useCheckoutOrder. All of them are importable from @ollie-shop/sdk, for example import type { CheckoutOrder, FulfillmentOrder } from '@ollie-shop/sdk'.
Let your agent build it. The Ollie Shop skill ships with projects created by npx create-ollie-shop, so you can name the field you want instead of tracing it through these types.
Prompt
Don’t have the skill yet? Install it.
All amounts are in the currency’s minor units (cents).

CheckoutOrder

The main order object returned after checkout completion.

FulfillmentOrder

A single fulfillment: its items, customer, shipping, payments and totals.

Order items

Order items reuse CartItem minus the available flag. The fields you will use most:

Order customer

Unlike the session’s customer, the four contact fields are always present and there is no addresses list; the addresses used are under shipping.addresses.

Shipping

ShippingAddress

ShippingPackage

EstimatedDeliveryTime


Payment

SelectedPaymentOrder


Campaign

Promotion


TaxLine


Totals

On an order every field is present (Required<Totals>). All values in minor units.

LocaleInfo


OrderStatus


AddressType