> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/fulfillment-api/resources/first-successful-requests/shipping-dispatch.md).

# Shipping / Dispatch

### Goal

Submit the first successful shipment notification using `POST /v1/PickPack/AdvancedShippingNotice`. This endpoint is used by 3PLs or retailers to notify the system when an order is shipped, including package, carrier, and item-level details.

The ASN schema does not declare required fields at the schema level. However,  `ShipmentDateTime` is required with be a valid ISO 8601 timestamp. Safest first request should include `shipmentDateTime` plus the core identifiers and one shipped item.

### Best first scenario

Use a single-package, fully shipped order with one item. Keep optional weight and dimensions out of the first call unless you have them available.

### First-request example

```json
curl -X POST "https://api.test.esw.com/v1/PickPack/AdvancedShippingNotice" \
  -H "Authorization: Bearer <JWT>" \
  -H "Content-Type: application/json" \
  -d '{
    "shipmentId": "ship-10001",
    "eswOrderReference": "ESW-ORDER-10001",
    "shipmentDateTime": "2026-03-13T15:45:00Z",
    "shipmentStatus": "Shipped",
    "shipFrom": {
      "name": "Dublin Fulfillment Centre",
      "locationCode": "FC-DUB-01"
    },
    "carrierId": "DHL",
    "packageReference": "PKG-10001",
    "carrierReference": "TRACK-10001",
    "items": [
      {
        "sku": "SKU-10001",
        "quantityOrdered": 1,
        "quantityShipped": 1,
        "unitOfMeasure": "EA",
        "itemStatus": "Shipped"
      }
    ]
  }'
```

### Why this is the safest first ASN

It uses fields present in the schema, includes `shipmentDateTime`, uses a `shipmentStatus` value of `Shipped`, and keeps the item status enum value: `Shipped`.

### What “first success” looks like

A `202 Accepted` means the shipment notification was accepted. A `400` response will come back as `ValidationProblemDetails`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.esw.com/fulfillment-api/resources/first-successful-requests/shipping-dispatch.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
