ESTAGE Support
IdeasMy tickets

Set a shipment status

Permission orders:writeRate limit writesIdempotent with Idempotency-Key

Sets the status of a shipment. Only the status changes: delivered_at and the order's fulfillment_status are not updated by this call.

PATCHhttps://api.estage.com/v1/fulfillments/{id}/status

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired

Body

application/json
statusstringrequired

One of pending, label_created, shipped, in_transit, delivered, failed

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
curl --request PATCH \
  --url 'https://api.estage.com/v1/fulfillments/fulfillment-id/status' \
  --header 'ESTAGE-API-Key: est_live_your-api-key' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: your-unique-key' \
  --data '{ "status": "delivered" }'
OK
{
  "data": {
    "id": 6120,
    "order_id": 98314,
    "provider": "manual",
    "status": "delivered",
    "tracking_number": "1Z999AA10123456784",
    "tracking_url": "https://track.example.com/1Z999AA10123456784",
    "carrier_name": "UPS",
    "label_url": null,
    "parcel": null,
    "shipped_at": "2026-11-10T09:12:44Z",
    "delivered_at": null,
    "items": [
      {
        "order_item_id": 70211,
        "quantity": 2
      }
    ],
    "created_at": "2026-11-10T09:12:44Z"
  }
}
Example. Errors are { error: { code, message, details } }.