> ## Documentation Index
> Fetch the complete documentation index at: https://redo-44af351d-docs-v3-graphql-api-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OrderFulfillment

> A shipment fulfilling some or all of an order's items.

<ResponseField name="createdAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
  When the fulfillment was created.
</ResponseField>

<ResponseField name="deliveredAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime</a>}>
  When the shipment was delivered, if it has been.
</ResponseField>

<ResponseField name="estimatedDeliveryDate" type={<a href="/docs/api-reference/v3/reference/common/date">Date</a>}>
  The carrier's estimated delivery date (YYYY-MM-DD, destination-local), if known.
</ResponseField>

<ResponseField name="id" type="String!" required>
  The fulfillment's id in the source platform.
</ResponseField>

<ResponseField name="lineItems" type={<a href="/docs/api-reference/v3/reference/orders/order-fulfillment-line-item">[OrderFulfillmentLineItem!]!</a>} required>
  The items included in this fulfillment.

  <Expandable title="fields" lazyRender>
    <ResponseField name="id" type="String!" required>
      The fulfilled line item's id in the source platform.
    </ResponseField>

    <ResponseField name="productId" type="String!" required>
      The product's id in the source platform.
    </ResponseField>

    <ResponseField name="quantity" type="Int!" required>
      How many units of this item were fulfilled.
    </ResponseField>

    <ResponseField name="sku" type="String">
      The stock keeping unit of the fulfilled item.
    </ResponseField>

    <ResponseField name="title" type="String!" required>
      The product title of the fulfilled item.
    </ResponseField>

    <ResponseField name="variantId" type="String">
      The variant's id in the source platform.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="status" type={<a href="/docs/api-reference/v3/reference/orders/order-fulfillment-status">OrderFulfillmentStatus!</a>} required>
  The current tracked shipment status.
</ResponseField>

<ResponseField name="trackingCompany" type="String">
  The shipping carrier, if known.
</ResponseField>

<ResponseField name="trackingHistory" type={<a href="/docs/api-reference/v3/reference/orders/order-tracking-event">[OrderTrackingEvent!]!</a>} required>
  The carrier tracking events, oldest to newest.

  <Expandable title="fields" lazyRender>
    <ResponseField name="datetime" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
      When the tracking event occurred.
    </ResponseField>

    <ResponseField name="location" type={<a href="/docs/api-reference/v3/reference/orders/order-tracking-event-location">OrderTrackingEventLocation</a>}>
      Where the tracking event occurred, if reported.

      <Expandable title="fields" lazyRender>
        <ResponseField name="city" type="String">
          The city, if reported.
        </ResponseField>

        <ResponseField name="country" type="String">
          The country, if reported.
        </ResponseField>

        <ResponseField name="postalCode" type="String">
          The postal or ZIP code, if reported.
        </ResponseField>

        <ResponseField name="state" type="String">
          The state or province, if reported.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="message" type="String!" required>
      The human-readable tracking message.
    </ResponseField>

    <ResponseField name="status" type="String!" required>
      The carrier's status label at this event.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="trackingNumber" type="String">
  The carrier tracking number, if known.
</ResponseField>
