> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# SDK Types: Order

**Published**: 2026-11-30
**Category**: Types

## `CustomerOrderList`

*Interface*

One page of the signed-in buyer's order history on this site, newest first,
returned by CustomersService.orders.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `data` | `Order[]` | No | The buyer's orders on this page, newest first. Empty when the buyer has no order or the page is past the last one. |
| `meta` | `CustomerOrderListMeta` | No | Position of this page in the full history. |


---

## `CustomerOrderListMeta`

*Interface*

Pagination metadata of a CustomerOrderList. Orders are listed newest
first. All values are integers; page numbering starts at 1.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `currentPage` | `number` | No | 1-based index of the page returned: the `page` sent, 1 when none was sent. |
| `firstPage` | `number` | No | 1-based index of the first page. Always 1. |
| `lastPage` | `number` | No | 1-based index of the last page. Equals 1 when the buyer has no order. |
| `perPage` | `number` | No | Maximum number of orders on one page: the `limit` sent, 20 when none was sent. |
| `total` | `number` | No | Total number of the buyer's orders on this site, across all pages. Always 0 or more. |


---

## `CustomerOrderListParams`

*Interface*

Pagination accepted by CustomersService.orders. Both keys are optional.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `limit` | `number` | Yes | Number of orders per page, an integer from 1 to 100. Defaults to 20. A<br>value outside that range is refused with HTTP 422. |
| `page` | `number` | Yes | 1-based page number, an integer of 1 or more. Defaults to 1. A page past<br>the last one returns an empty `data` array. |


---

## `EmbeddedOrderPayment`

*Interface*

In-page payment details for the full order total, returned for card placement with
`paymentFlow: 'embedded'`. Load the payment provider's browser library with
`providerPublishableKey` for the account `providerAccountId`, then mount its payment form
with `clientSecret`. After paying, the buyer lands on your `/checkout/payment/return` page;
confirm there with CheckoutService.refreshPayment.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `amountCents` | `number` | No | Full immutable order total in minor currency units; the server derives this value. |
| `captureToken` | `string` | No | Signed, expiring guest capability bound to this payment and site. Pass it to<br>CheckoutService.refreshPayment on return. Keep it on your server, out of URLs<br>and logs. |
| `clientSecret` | `string` | No | Secret that mounts the payment form for this checkout only. Hand it to the buyer's<br>browser, and keep it out of URLs and logs. |
| `currency` | `string` | No | ISO 4217 currency of the order and checkout (e.g. `'EUR'`). |
| `flow` | `"embedded"` | No | `'embedded'`: mount the payment form in your page. |
| `paymentId` | `string` | No | Opaque payment reference (`'pay_...'`) accepted by CheckoutService.refreshPayment. |
| `providerAccountId` | `string` | No | The merchant's payment account the form is loaded for. |
| `providerPublishableKey` | `string` | No | The payment provider's publishable key, public by design, to load its browser library with. |


---

## `EmbeddedPlaceOrderInput`

*Interface*

What CheckoutService.placeOrder takes for a card order paid with a payment form in
your own page: a PlaceOrderInput with `paymentFlow: 'embedded'`.

Extends: `Omit<PlaceOrderInput, "paymentFlow">`

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `acceptsTerms` | `true` | No | The buyer's acceptance of the terms of sale, ticked by the buyer. Without it: HTTP 422<br>`TERMS_NOT_ACCEPTED`; on a site with no terms page: `TERMS_PAGE_NOT_CONFIGURED`. |
| `address` | `OrderAddress` | Yes | Optional delivery or collection address snapshot. |
| `cartToken` | `string` | Yes | Guest cart token to send instead of the token held by CartService.<br>Omit it for the usual `cart.addLine()` then `checkout.placeOrder()` flow. |
| `contact` | `{ name?: string; phone?: string }` | Yes | Optional contact snapshot captured on the order. |
| `email` | `string` | Yes | Confirmation email. A guest checkout without it is refused with HTTP 422, `apiCode` `VALIDATION_FIELD_REQUIRED`. |
| `expectedTotalCents` | `number` | Yes | The total in cents the buyer was shown, usually Cart.totalCents. When the<br>recomputed total differs, checkout is refused with HTTP 422 `TOTAL_CHANGED`. |
| `fulfillmentMode` | `OrderFulfillmentMode` | Yes | `'delivery'` (default) or `'pickup'`. With active markets, a delivery is refused with<br>HTTP 422 `DELIVERY_COUNTRY_REQUIRED`, `MARKET_COUNTRY_NOT_SERVED` or<br>`PRODUCT_NOT_SOLD_IN_MARKET`; outside the EU VAT area, with `DESTINATION_NOT_TAXABLE`. |
| `paymentFlow` | `"embedded"` | No | Returns an EmbeddedOrderPayment, to show the payment form in your own page.<br>Without in-page payment configured, refused with HTTP 422 `PAYMENT_FLOW_UNAVAILABLE`.<br>Ignored for methods other than `'card'`. |
| `paymentMethod` | `"on_site" \| "cash_on_delivery" \| "click_and_collect" \| "card"` | Yes | Settlement method selected by the buyer. `'card'` pays online when online payment is available, on a hosted page or in your own page depending on `paymentFlow`; other values settle offline. |
| `shippingOptionId` | `string` | Yes | The `shp_...` option chosen, defaulting to the cart's. A delivery is refused with<br>HTTP 422 `SHIPPING_OPTION_INVALID` when it is not an active option of its market, and<br>`SHIPPING_UNAVAILABLE` when that market has none while another market does.<br>An option with `requiresPickupPoint` is refused with `PICKUP_POINT_REQUIRED` when the cart<br>has no pickup point, and `PICKUP_POINT_INVALID` when that point is closed, belongs to<br>another carrier or lies outside the delivery country. |


---

## `EmbeddedPlaceOrderResult`

*Interface*

Order confirmation of a card order placed with `paymentFlow: 'embedded'`.

Extends: `Order`

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `address` | `OrderAddress` | Yes | Buyer-provided address snapshot: an empty object when no address was supplied. |
| `currency` | `string` | No | ISO 4217 currency code for every amount on this order (e.g. `'EUR'`). |
| `email` | `string \| null` | Yes | Confirmation email, or `null` when the authenticated account has no email snapshot. |
| `fulfillmentMode` | `OrderFulfillmentMode` | No | How the order is handed over, as recorded at placement: `'delivery'` (shipped<br>to Order.address) or `'pickup'` (collected from the merchant). An order<br>placed without a mode reads `'delivery'`, the default. A pickup order never<br>carries a shipping charge. |
| `fulfillmentStatus` | `OrderFulfillmentStatus` | No | How much of the order the merchant has shipped or handed over. |
| `id` | `string` | No | Order's opaque wire id (prefixed `'ord_...'`). |
| `items` | `OrderItem[]` | No | Immutable line snapshots copied from the completed cart. Always non-empty. |
| `locale` | `string \| null` | No | The order's language tag, frozen at placement: the cart's language, else the checkout<br>`locale`, else the site default. `null` on older orders that recorded none. |
| `orderNumber` | `number` | No | Per-site sequential order number intended for merchant and buyer display. |
| `payment` | `EmbeddedOrderPayment` | Yes | Present when card checkout was created; all existing order fields remain available. |
| `paymentMethod` | `"on_site" \| "cash_on_delivery" \| "click_and_collect" \| "card" \| null` | Yes | Card or offline settlement method selected by the buyer, or `null` when none was selected. |
| `paymentStatus` | `OrderPaymentStatus` | No | Payment collection state after online capture or merchant confirmation. |
| `pickupPoint` | `SelectedPickupPoint \| null` | Yes | The pickup point the buyer chose, frozen at checkout, or `null` when the order is not<br>delivered to a pickup point. |
| `shipments` | `OrderShipment[]` | Yes | The parcels sent for the order, oldest first, cancelled ones left out. Empty until the<br>merchant ships. |
| `shippingLine` | `OrderShippingLine \| null` | Yes | The frozen shipping charge, or `null` when no shipping applied (pickup, or no shipping<br>offered). Absent only on a CheckoutService.placeOrder result that could not read it back. |
| `shippingTotalCents` | `number` | No | The shipping charged in cents, fixed at placement and included in Order.totalCents.<br>0 for a pickup order, no shipping offered, or a free option. |
| `status` | `OrderStatus` | No | Overall lifecycle state derived from payment and fulfillment progress. |
| `subtotalCents` | `number` | No | Sum of line subtotals in minor currency units (cents), fixed at placement. |
| `taxTotalCents` | `number` | No | The VAT contained in Order.totalCents, in minor currency units (cents), fixed at<br>placement: the sum of the lines' and the shipping line's `taxCents`. It is part of the<br>total: do not add it. 0 when no VAT was computed. |
| `totalCents` | `number` | No | Final order total in minor currency units (cents), fixed at placement. |
| `vatTreatment` | `"not_computed" \| "charged"` | No | Whether VAT was computed on the order, fixed at placement. `'charged'`: the amounts include<br>VAT, broken down in Order.taxTotalCents and each line's `taxRateBp` and `taxCents`.<br>`'not_computed'`: no VAT was computed, so `taxTotalCents` is 0 and every `taxRateBp` is<br>`null`. |


---

## `Order`

*Interface*

Buyer-facing order. CheckoutService.placeOrder returns it as the order
confirmation; CustomersService.orders and CustomersService.order
return it from the signed-in buyer's order history, and
OrdersService.getGuest from a guest order link. A read can return an
order whose `status` is `'cancelled'`.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `address` | `OrderAddress` | Yes | Buyer-provided address snapshot: an empty object when no address was supplied. |
| `currency` | `string` | No | ISO 4217 currency code for every amount on this order (e.g. `'EUR'`). |
| `email` | `string \| null` | Yes | Confirmation email, or `null` when the authenticated account has no email snapshot. |
| `fulfillmentMode` | `OrderFulfillmentMode` | No | How the order is handed over, as recorded at placement: `'delivery'` (shipped<br>to Order.address) or `'pickup'` (collected from the merchant). An order<br>placed without a mode reads `'delivery'`, the default. A pickup order never<br>carries a shipping charge. |
| `fulfillmentStatus` | `OrderFulfillmentStatus` | No | How much of the order the merchant has shipped or handed over. |
| `id` | `string` | No | Order's opaque wire id (prefixed `'ord_...'`). |
| `items` | `OrderItem[]` | No | Immutable line snapshots copied from the completed cart. Always non-empty. |
| `locale` | `string \| null` | No | The order's language tag, frozen at placement: the cart's language, else the checkout<br>`locale`, else the site default. `null` on older orders that recorded none. |
| `orderNumber` | `number` | No | Per-site sequential order number intended for merchant and buyer display. |
| `paymentMethod` | `"on_site" \| "cash_on_delivery" \| "click_and_collect" \| "card" \| null` | Yes | Card or offline settlement method selected by the buyer, or `null` when none was selected. |
| `paymentStatus` | `OrderPaymentStatus` | No | Payment collection state after online capture or merchant confirmation. |
| `pickupPoint` | `SelectedPickupPoint \| null` | Yes | The pickup point the buyer chose, frozen at checkout, or `null` when the order is not<br>delivered to a pickup point. |
| `shipments` | `OrderShipment[]` | Yes | The parcels sent for the order, oldest first, cancelled ones left out. Empty until the<br>merchant ships. |
| `shippingLine` | `OrderShippingLine \| null` | Yes | The frozen shipping charge, or `null` when no shipping applied (pickup, or no shipping<br>offered). Absent only on a CheckoutService.placeOrder result that could not read it back. |
| `shippingTotalCents` | `number` | No | The shipping charged in cents, fixed at placement and included in Order.totalCents.<br>0 for a pickup order, no shipping offered, or a free option. |
| `status` | `OrderStatus` | No | Overall lifecycle state derived from payment and fulfillment progress. |
| `subtotalCents` | `number` | No | Sum of line subtotals in minor currency units (cents), fixed at placement. |
| `taxTotalCents` | `number` | No | The VAT contained in Order.totalCents, in minor currency units (cents), fixed at<br>placement: the sum of the lines' and the shipping line's `taxCents`. It is part of the<br>total: do not add it. 0 when no VAT was computed. |
| `totalCents` | `number` | No | Final order total in minor currency units (cents), fixed at placement. |
| `vatTreatment` | `"not_computed" \| "charged"` | No | Whether VAT was computed on the order, fixed at placement. `'charged'`: the amounts include<br>VAT, broken down in Order.taxTotalCents and each line's `taxRateBp` and `taxCents`.<br>`'not_computed'`: no VAT was computed, so `taxTotalCents` is 0 and every `taxRateBp` is<br>`null`. |


---

## `OrderAddress`

*Interface*

Delivery or collection address copied onto an order as a buyer-provided snapshot.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `address1` | `string` | Yes | Primary street-address line. Max 500 characters. |
| `address2` | `string` | Yes | Additional street-address line. Max 500 characters. |
| `addressName` | `string` | Yes | Optional buyer label for the address (e.g. `'Home'`). Max 255 characters. |
| `city` | `string` | Yes | Locality or city. Max 255 characters. |
| `company` | `string` | Yes | Company or organization name. Max 255 characters. |
| `countryCode` | `string` | Yes | ISO 3166-1 alpha-2 country code (e.g. `'FR'`). |
| `firstName` | `string` | Yes | Recipient's given name. Max 255 characters. |
| `lastName` | `string` | Yes | Recipient's family name. Max 255 characters. |
| `phone` | `string` | Yes | Recipient phone number exactly as supplied by the buyer. Max 50 characters. |
| `postalCode` | `string` | Yes | Postal or ZIP code. Max 50 characters. |
| `province` | `string` | Yes | State, province, or region. Max 255 characters. |


---

## `OrderFulfillmentMode`

*TypeAlias*

How an order is handed over to the buyer, sent as PlaceOrderInput.fulfillmentMode.
`'delivery'` ships the order to the buyer's address; `'pickup'` means the buyer
collects it from the merchant.

```typescript
type OrderFulfillmentMode = "delivery" | "pickup"
```

---

## `OrderFulfillmentStatus`

*TypeAlias*

How much of the order the merchant has shipped or handed over. `'partially_fulfilled'`:
some lines have shipped and others have not yet.

```typescript
type OrderFulfillmentStatus = "unfulfilled" | "partially_fulfilled" | "fulfilled"
```

---

## `OrderItem`

*Interface*

One order line, frozen at placement: later catalogue edits never change it. Names
come twice, in the site's default language (`title`) and in the buyer's language
(`buyerTitle`, `null` when identical), so display `buyerTitle ?? title`.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `buyerTitle` | `string \| null` | No | Product title in the buyer's language (Order.locale), captured at<br>placement. `null` when identical to `title`, for example when the product<br>was served in the site's default language. At most 500 characters. |
| `buyerVariantOptionValues` | `OrderItemOptionValue[] \| null` | No | Variant option pairs in the buyer's language, in the order of<br>`optionValues`, captured at placement. `null` when identical to<br>`optionValues`. |
| `buyerVariantTitle` | `string \| null` | No | Variant title in the buyer's language, captured at placement. `null` when<br>identical to `variantTitle`, or when the variant has no title. At most 255<br>characters. |
| `optionValues` | `OrderItemOptionValue[]` | No | Ordered variant option pairs in the site's default language, captured at placement. Empty when the variant has none. |
| `quantity` | `number` | No | Number of units ordered. Integer from 1 to 999. |
| `subtotalCents` | `number` | No | The amount charged for the line in minor currency units (cents), VAT included when VAT was<br>charged. Read it rather than multiplying `unitPriceCents` by `quantity`. |
| `taxCents` | `number` | No | The VAT contained in OrderItem.subtotalCents, in minor currency units (cents),<br>frozen at placement. Integer, 0 or more; 0 when no VAT was computed. |
| `taxRateBp` | `number \| null` | No | The VAT rate applied to the line, in basis points (`2000` is 20%), frozen at placement.<br>`null` when no VAT was computed (Order.vatTreatment is `'not_computed'`). |
| `thumbnail` | `string \| null` | Yes | Absolute preview-image URL captured at placement, or `null` when unavailable. |
| `title` | `string` | No | Product title in the site's default language, captured when the order was placed. Always non-empty. |
| `unitPriceCents` | `number` | No | Price of one unit in minor currency units (cents) as charged at placement, VAT included<br>when VAT was charged. When VAT was added to prices the merchant entered without it, this<br>can differ slightly from `subtotalCents / quantity`. |
| `variantId` | `string \| null` | No | Purchased variant's opaque wire id (prefixed `'var_...'`), or `null` if that catalogue row was later removed. |
| `variantSku` | `string \| null` | Yes | Merchant stock-keeping unit captured at placement, or `null` when unset. |
| `variantTitle` | `string \| null` | Yes | Variant title in the site's default language, captured at placement, or `null` when the variant has no title. |


---

## `OrderItemOptionValue`

*Interface*

One option/value pair captured from the purchased variant.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `option` | `string` | No | Option name as the merchant labelled it when the order was placed (e.g. `'Size'`). |
| `value` | `string` | No | Selected option value captured at placement time (e.g. `'M'`). |


---

## `OrderPayment`

*Interface*

Hosted-checkout details for the full order total, returned only for card placement.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `amountCents` | `number` | No | Full immutable order total in minor currency units; the server derives this value. |
| `captureToken` | `string` | No | Signed, expiring guest capability bound to this payment and site. Pass it to<br>CheckoutService.refreshPayment on return. Keep it private and out of URLs<br>and logs; it can be reused until the checkout-bound expiry. |
| `checkoutUrl` | `string` | No | Absolute hosted-checkout URL to send the buyer to. Treat the URL as opaque. |
| `currency` | `string` | No | ISO 4217 currency of the order and checkout (e.g. `'EUR'`). |
| `flow` | `"hosted"` | Yes | `'hosted'`: send the buyer to `checkoutUrl`. Tells this shape from EmbeddedOrderPayment. |
| `paymentId` | `string` | No | Opaque payment reference (`'pay_...'`) accepted by CheckoutService.refreshPayment. |


---

## `OrderPaymentRefreshResult`

*Interface*

Status-only response returned by CheckoutService.refreshPayment; never cached.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `orderStatus` | `OrderStatus \| null` | No | Current order lifecycle after reconciliation; `null` when no order payable was resolved. |
| `status` | `PaymentRefreshStatus` | No | Durable payment state, or a non-mutating reconciliation outcome such as `mismatch`. |


---

## `OrderPaymentStatus`

*TypeAlias*

Whether the order payment was collected online or recorded by the merchant.

```typescript
type OrderPaymentStatus = "pending" | "paid"
```

---

## `OrderShipment`

*Interface*

One parcel the merchant sent for an order, read from Order.shipments.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `carrier` | `string` | No | Carrier code, a stable machine value such as `'manual'` for a parcel the merchant ships<br>and tracks by hand. Compare it, never display it: show OrderShipment.carrierName. |
| `carrierName` | `string \| null` | No | Carrier name to show the buyer, or `null` when none is known. |
| `id` | `string` | No | Opaque shipment id, prefixed `'shpt_'`. |
| `pickupPoint` | `SelectedPickupPoint \| null` | No | The pickup point the parcel goes to, or `null` for a delivery to an address. |
| `status` | `ShipmentStatus \| null` | No | Delivery status of the parcel. `null` while there is no carrier status yet, such as a<br>parcel the merchant tracks by hand. |
| `statusUpdatedAt` | `string \| null` | No | ISO 8601 time the current status was reported, or of the parcel's last change, or `null`. |
| `trackingNumber` | `string \| null` | No | Tracking number of the parcel, or `null`. |
| `trackingUrl` | `string \| null` | No | Carrier tracking page for this parcel, an `https` URL, or `null`. |


---

## `OrderShippingLine`

*Interface*

The shipping charge frozen onto an order when it was placed, read from
Order.shippingLine. Like the order's lines, it never follows a later
change to the shipping option it came from: a renamed, re-priced or deleted
option leaves it as it was.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `amountCents` | `number` | No | The shipping charged, in cents of Order.currency, VAT included when charged.<br>Equals Order.shippingTotalCents; 0 for a free option. |
| `name` | `string` | No | The shipping option's label as the buyer saw it, frozen in the order's<br>language (Order.locale): its translation in that language when one<br>exists, else the label the merchant set. Always non-empty. |
| `taxCents` | `number` | No | The VAT contained in OrderShippingLine.amountCents, in minor currency<br>units (cents), frozen at placement. Integer, 0 or more; 0 when no VAT was computed. |
| `taxRateBp` | `number \| null` | No | The VAT rate applied to shipping, in basis points (`2000` is 20%), frozen at<br>placement. `null` when no VAT was computed on it. |


---

## `OrderStatus`

*TypeAlias*

The order's overall lifecycle state.

```typescript
type OrderStatus = "pending" | "confirmed" | "completed" | "cancelled"
```

---

## `PaymentFlow`

*TypeAlias*

How a card order is paid: on a hosted payment page (`'hosted'`) or with a payment form in
your own page (`'embedded'`). Sent as PlaceOrderInput.paymentFlow or
EmbeddedPlaceOrderInput.paymentFlow.

```typescript
type PaymentFlow = "hosted" | "embedded"
```

---

## `PlaceOrderInput`

*Interface*

What the buyer sends to CheckoutService.placeOrder. Besides the codes named on
each field, checkout refuses with HTTP 422 and `apiCode` `CHECKOUT_TAX_DISABLED` or
`TAX_RATE_UNAVAILABLE` when the site's VAT settings cannot price the order.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `acceptsTerms` | `true` | No | The buyer's acceptance of the terms of sale, ticked by the buyer. Without it: HTTP 422<br>`TERMS_NOT_ACCEPTED`; on a site with no terms page: `TERMS_PAGE_NOT_CONFIGURED`. |
| `address` | `OrderAddress` | Yes | Optional delivery or collection address snapshot. |
| `cartToken` | `string` | Yes | Guest cart token to send instead of the token held by CartService.<br>Omit it for the usual `cart.addLine()` then `checkout.placeOrder()` flow. |
| `contact` | `{ name?: string; phone?: string }` | Yes | Optional contact snapshot captured on the order. |
| `email` | `string` | Yes | Confirmation email. A guest checkout without it is refused with HTTP 422, `apiCode` `VALIDATION_FIELD_REQUIRED`. |
| `expectedTotalCents` | `number` | Yes | The total in cents the buyer was shown, usually Cart.totalCents. When the<br>recomputed total differs, checkout is refused with HTTP 422 `TOTAL_CHANGED`. |
| `fulfillmentMode` | `OrderFulfillmentMode` | Yes | `'delivery'` (default) or `'pickup'`. With active markets, a delivery is refused with<br>HTTP 422 `DELIVERY_COUNTRY_REQUIRED`, `MARKET_COUNTRY_NOT_SERVED` or<br>`PRODUCT_NOT_SOLD_IN_MARKET`; outside the EU VAT area, with `DESTINATION_NOT_TAXABLE`. |
| `paymentFlow` | `"hosted"` | Yes | How a card order is paid, ignored for other methods. `'hosted'` (the default) returns an<br>OrderPayment whose `checkoutUrl` the buyer is sent to. For the payment form in<br>your own page, pass an EmbeddedPlaceOrderInput. |
| `paymentMethod` | `"on_site" \| "cash_on_delivery" \| "click_and_collect" \| "card"` | Yes | Settlement method selected by the buyer. `'card'` pays online when online payment is available, on a hosted page or in your own page depending on `paymentFlow`; other values settle offline. |
| `shippingOptionId` | `string` | Yes | The `shp_...` option chosen, defaulting to the cart's. A delivery is refused with<br>HTTP 422 `SHIPPING_OPTION_INVALID` when it is not an active option of its market, and<br>`SHIPPING_UNAVAILABLE` when that market has none while another market does.<br>An option with `requiresPickupPoint` is refused with `PICKUP_POINT_REQUIRED` when the cart<br>has no pickup point, and `PICKUP_POINT_INVALID` when that point is closed, belongs to<br>another carrier or lies outside the delivery country. |


---

## `PlaceOrderResult`

*Interface*

Order confirmation with optional hosted-checkout details; offline results omit payment.

Extends: `Order`

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `address` | `OrderAddress` | Yes | Buyer-provided address snapshot: an empty object when no address was supplied. |
| `currency` | `string` | No | ISO 4217 currency code for every amount on this order (e.g. `'EUR'`). |
| `email` | `string \| null` | Yes | Confirmation email, or `null` when the authenticated account has no email snapshot. |
| `fulfillmentMode` | `OrderFulfillmentMode` | No | How the order is handed over, as recorded at placement: `'delivery'` (shipped<br>to Order.address) or `'pickup'` (collected from the merchant). An order<br>placed without a mode reads `'delivery'`, the default. A pickup order never<br>carries a shipping charge. |
| `fulfillmentStatus` | `OrderFulfillmentStatus` | No | How much of the order the merchant has shipped or handed over. |
| `id` | `string` | No | Order's opaque wire id (prefixed `'ord_...'`). |
| `items` | `OrderItem[]` | No | Immutable line snapshots copied from the completed cart. Always non-empty. |
| `locale` | `string \| null` | No | The order's language tag, frozen at placement: the cart's language, else the checkout<br>`locale`, else the site default. `null` on older orders that recorded none. |
| `orderNumber` | `number` | No | Per-site sequential order number intended for merchant and buyer display. |
| `payment` | `OrderPayment` | Yes | Present when card checkout was created; all existing order fields remain available. |
| `paymentMethod` | `"on_site" \| "cash_on_delivery" \| "click_and_collect" \| "card" \| null` | Yes | Card or offline settlement method selected by the buyer, or `null` when none was selected. |
| `paymentStatus` | `OrderPaymentStatus` | No | Payment collection state after online capture or merchant confirmation. |
| `pickupPoint` | `SelectedPickupPoint \| null` | Yes | The pickup point the buyer chose, frozen at checkout, or `null` when the order is not<br>delivered to a pickup point. |
| `shipments` | `OrderShipment[]` | Yes | The parcels sent for the order, oldest first, cancelled ones left out. Empty until the<br>merchant ships. |
| `shippingLine` | `OrderShippingLine \| null` | Yes | The frozen shipping charge, or `null` when no shipping applied (pickup, or no shipping<br>offered). Absent only on a CheckoutService.placeOrder result that could not read it back. |
| `shippingTotalCents` | `number` | No | The shipping charged in cents, fixed at placement and included in Order.totalCents.<br>0 for a pickup order, no shipping offered, or a free option. |
| `status` | `OrderStatus` | No | Overall lifecycle state derived from payment and fulfillment progress. |
| `subtotalCents` | `number` | No | Sum of line subtotals in minor currency units (cents), fixed at placement. |
| `taxTotalCents` | `number` | No | The VAT contained in Order.totalCents, in minor currency units (cents), fixed at<br>placement: the sum of the lines' and the shipping line's `taxCents`. It is part of the<br>total: do not add it. 0 when no VAT was computed. |
| `totalCents` | `number` | No | Final order total in minor currency units (cents), fixed at placement. |
| `vatTreatment` | `"not_computed" \| "charged"` | No | Whether VAT was computed on the order, fixed at placement. `'charged'`: the amounts include<br>VAT, broken down in Order.taxTotalCents and each line's `taxRateBp` and `taxCents`.<br>`'not_computed'`: no VAT was computed, so `taxTotalCents` is 0 and every `taxRateBp` is<br>`null`. |


---

## `ShipmentStatus`

*TypeAlias*

Delivery status of a parcel, as reported by its carrier or set by the merchant.
`'collected'`: the buyer picked the parcel up at a pickup point.

```typescript
type ShipmentStatus = "label_created" | "in_transit" | "out_for_delivery" | "ready_for_pickup" | "delivered" | "collected" | "failed"
```