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

# Create Fulfillment Event

> Create a tracking event for a line item's fulfillment

<Note>
  **V2 Preview** — This endpoint is part of the V2 API preview. Breaking changes may occur.
</Note>

## Overview

Create a tracking event for a line item's fulfillment. Vendor tokens can only add events to their own line items. The line item must already be fulfilled.

## Path Parameters

<ParamField path="lineItemId" type="string" required>
  Line item ObjectId.
</ParamField>

## Request Body

<ParamField body="status" type="string" required>
  One of `in_transit`, `out_for_delivery`, `delivered`, `failed_delivery`.
</ParamField>

<ParamField body="happenedAt" type="string">
  ISO 8601 timestamp; defaults to now.
</ParamField>

<ParamField body="city" type="string" />

<ParamField body="province" type="string" />

<ParamField body="country" type="string" />

<ParamField body="zip" type="string" />

<ParamField body="message" type="string" />

## Response

```json 201 theme={null}
{
  "success": true,
  "data": {
    "_id": "507f1f77bcf86cd799439020",
    "lineItemId": "507f1f77bcf86cd799439015",
    "status": "in_transit",
    "happenedAt": "2026-04-15T08:30:00Z"
  }
}
```

## Example

```bash theme={null}
curl -X POST "https://staging-api.puppetvendors.com/fulfillments/events/507f1f77bcf86cd799439015" \
  -H "x-access-token: YOUR_VENDOR_JWT" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "in_transit",
    "city": "Austin",
    "province": "TX",
    "country": "US",
    "message": "Package scanned at origin facility"
  }'
```

### More Examples

**Mark as delivered with timestamp**

```bash theme={null}
curl -X POST "https://staging-api.puppetvendors.com/fulfillments/events/507f1f77bcf86cd799439015" \
  -H "x-access-token: YOUR_VENDOR_JWT" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "delivered",
    "message": "Signed by J. Smith",
    "occurredAt": "2026-05-19T10:15:00Z",
    "location": "New York, NY"
  }'
```
