> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# order_shipped Event

> Track when an order has been shipped and tracking information is available.

Fires when an order has been shipped and tracking information is available. Use this event to trigger shipment notification flows.

## JavaScript

```javascript theme={null}
window._upstack('track', 'order_shipped', {
  orderId: 'ORD_12345',
  orderName: '#1042',
  value: 149.99,
  currency: 'USD',
  trackingNumber: '1Z999AA10123456784',
  trackingCompany: 'UPS',
  trackingUrl: 'https://www.ups.com/track?tracknum=1Z999AA10123456784',
  estimatedDelivery: '2026-02-25T00:00:00.000Z',
  items: [
    {
      id: 'SKU_001',
      name: 'Monthly Snack Box',
      price: 39.99,
      quantity: 1
    }
  ],
  email: 'customer@example.com'
});
```

## Properties

| Property          | Type   | Required | Description                                           |
| ----------------- | ------ | -------- | ----------------------------------------------------- |
| orderId           | string | Yes      | Order identifier                                      |
| orderName         | string | No       | Human-readable order name                             |
| value             | number | No       | Order value                                           |
| currency          | string | No       | ISO 4217 currency code                                |
| trackingNumber    | string | No       | Carrier tracking number                               |
| trackingCompany   | string | No       | Shipping carrier (e.g., `'UPS'`, `'FedEx'`, `'USPS'`) |
| trackingUrl       | string | No       | Direct link to tracking page                          |
| estimatedDelivery | string | No       | ISO 8601 estimated delivery date                      |
| items             | array  | No       | Products shipped                                      |
| email             | string | No       | Customer email                                        |

## When to Fire

* When shipping label is created with tracking
* When carrier picks up package
* When Shopify `fulfillment_events/create` webhook fires

<Tip>
  **Klaviyo integration:** `order_shipped` is commonly used to trigger post-purchase flows like "Your order is on the way" emails with tracking information.
</Tip>
