---
title: "Retrieve Shipment"
method: GET
path: "/shipments/{id}"
tags: ["Shipments"]
---

# Retrieve Shipment

`GET /shipments/{id}`

Retrieves a shipment by its id, or by the payment id it fulfills.

## Response `200`

shipment retrieved

- Shipment
  - `account_id` string, required — The account that owns this shipment, prefixed `biz_`.
  - `carrier` string, nullable, required — The shipping carrier detected for this shipment. Null until a tracking update identifies it.
  - `checkpoints` ShipmentCheckpoint[], required
    - `location` string, nullable, required — Where the carrier recorded the scan, such as `PHILADELPHIA, PA`. Null when the carrier sent none.
    - `message` string, nullable, required — Carrier's description of the scan, such as `Departed USPS Regional Facility`. Null when the carrier sent none.
    - `status` 'unknown' | 'pre_transit' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'available_for_pickup' | 'return_to_sender' | 'failure' | 'cancelled' | 'error', required — Delivery status this carrier scan maps to.
    - `timestamp` string, nullable, required — When the carrier recorded the scan, as an ISO 8601 timestamp. Null when the carrier sent no scan time.
  - `created_at` string, required — The datetime the shipment was created (ISO 8601).
  - `id` string, required — Shipment ID, prefixed `ship_`.
  - `payment_id` string, required — The payment this shipment fulfills, prefixed `pay_`.
  - `status` 'unknown' | 'pre_transit' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'available_for_pickup' | 'return_to_sender' | 'failure' | 'cancelled' | 'error', required — The current delivery status of this shipment.
  - `tracking_number` string, required — The carrier-assigned tracking number used to look up shipment progress.
  - `tracking_url` string, required — A customer-facing URL to track this shipment's progress.
  - `updated_at` string, required — The datetime the shipment was last updated (ISO 8601).

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/db0883548bc5/schema)
