---
title: "Expired basket"
method: POST
path: "expiredBasket"
tags: ["Orders"]
---

# Expired basket

`POST expiredBasket` (webhook)

BASKET.EXPIRED webhook triggered when a buyer entered their details at checkout but their basket expired before they completed the order.

The payload is the incomplete order as it stood when the basket expired, including the buyer's details and the line items they left behind. Its status is `pending`, and its `currency` and `total` are null. Baskets that expire before the buyer entered any details do not trigger this webhook.

## Payload

- object
  - `id` string: A unique identifier for the webhook history
  - `created_at` string: Datetime of the webhook request
  - `event` string: Webhook subscription event
  - `resource_url` string: API link to the incomplete order
  - `payload` OrderV2: The version 2 representation of an order.
    - `object` string
    - `id` string: A unique identifier for the order
    - `buyer_details` object: Information the buyer provided in the checkout
      - `address` object: Information about the buyer's address
        - `address_1` string, nullable: First line of address
        - `address_2` string, nullable: Second line of address
        - `address_3` string, nullable: Third line of address
        - `postal_code` string, nullable: Postal code, zip code or postcode
      - `custom_questions` object[]: Buyer provided answers to custom questions in the checkout
        - `question` string
        - `answer` string, nullable
      - `email` string, nullable
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `name` string, nullable
      - `phone` string, nullable
    - `created_at` string, date-time: When the order was created (ISO 8601)
    - `currency` object
      - `base_multiplier` integer: The multiplier that converts the currency's minor unit to its major unit
      - `code` string
      - `symbol` string
    - `line_items` LineItemV2[]
      - `object` string
      - `id` string
      - `booking_fee` integer: Booking fee in the currency's minor unit
      - `bundle_id` string, nullable
      - `description` string
      - `discount_id` string, nullable
      - `event_summary` object, nullable: The event occurrence this line belongs to, when it is a ticket line
        - `end_date` string, date-time
        - `event_id` string
        - `event_series_id` string
        - `name` string
        - `start_date` string, date-time
      - `fulfilment` string, nullable: The expected fulfilment type for this line
      - `fulfilments` object[]: The fulfilled units for this line (issued tickets or products)
        - `reference_id` string
        - `reference_name` string, nullable
      - `item_id` string, nullable
      - `list_booking_fee` integer
      - `list_price` integer
      - `quantity` integer
      - `store_summary` object, nullable: The store this line belongs to, when it is a product line
        - `name` string, nullable
        - `store_id` string
      - `tax` object, nullable
        - `amount` integer, nullable
        - `label` string, nullable
        - `rate` number
        - `treatment` string, nullable
      - `total` integer
      - `type` string
      - `value` integer
    - `marketing_opt_in` boolean, nullable
    - `meta_data` object[]: Arbitrary key/value metadata stored against the order
      - `key` string
      - `value` unknown
    - `notes` string, nullable
    - `referral_tag` string, nullable
    - `status` string: The order status
    - `status_message` string, nullable
    - `total` integer, nullable: The order total in the currency's minor unit (see currency.base_multiplier)
    - `transactions` object[]: The order's transaction ledger — payments taken and refunds returned
      - `transaction_id` string, nullable
      - `type` string
      - `amount` integer: Signed amount in the currency's minor unit (negative for refunds)
      - `currency` string
      - `payment_method` string
      - `pending` boolean
      - `created_at` string, date-time
    - `payment_plan` object, nullable: The order's payment plan, or null when it is not a payment plan order
      - `status` string
      - `currency` string
      - `total` integer
      - `amount_paid` integer
      - `amount_outstanding` integer
      - `instalments` object[]
        - `id` string
        - `sequence_number` integer
        - `amount` integer
        - `currency` string
        - `due_date` string, date
        - `status` string
        - `is_deposit` boolean

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/tickettailor/apis/ticket-tailor-api.md) - [All operations](https://skmtc.dev/tickettailor/apis/ticket-tailor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tickettailor/apis/ticket-tailor-api/revisions/b10f60afda54?raw)
