Shipments

Retrieve Shipment

Changed on

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

get/shipments/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string required

The shipment id (ship_), or the payment id (pay_) it fulfills.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

shipment retrieved

Shipment required
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
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_.

product, ShipmentProduct nullable required
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).

Example response

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "carrier": "ups",
  "checkpoints": [
    {
      "location": "PHILADELPHIA, PA",
      "message": "Picked up",
      "status": "in_transit",
      "timestamp": "2026-01-01T12:00:00.000Z"
    }
  ],
  "created_at": "2026-01-01T12:00:00.000Z",
  "id": "ship_xxxxxxxxxxxxxx",
  "payment_id": "pay_xxxxxxxxxxxxxx",
  "product": {
    "id": "prod_xxxxxxxxxxxxxx",
    "title": "Persevering actuating local..."
  },
  "status": "in_transit",
  "tracking_number": "1Z999AA10123456784",
  "tracking_url": "https://track.aftership.com/xxxxxxxxxxxxxxxxxx",
  "updated_at": "2026-01-01T12:00:00.000Z"
}

Changes