Shipments

Lists an account's shipments. With user_id set to me, lists the shipments of the payments the authenticated user made instead.

get/shipments

Request

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

Query parameters

account_id, string

The account to list shipments for. Defaults to the acting account. With user_id, only the user's shipments from this account.

status, 'unknown' | 'pre_transit' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'available_for_pickup' | 'return_to_sender' | 'failure' | 'cancelled' | 'error'

Filter to shipments with this delivery status.

payment_id, string[]

Only shipments fulfilling these payments, each prefixed pay_. Repeat the parameter to pass several, up to 100 per request — one paginated list covers all of them.

[
  "pay_xxxxxxxxxxxxxx"
]
user_id, string
Example:me

me lists the shipments of the payments the authenticated user made, across all accounts, and needs a user credential. A user ID, prefixed user_, narrows the account's shipments to that buyer's payments.

created_before, string

Return shipments created before this ISO 8601 timestamp.

created_after, string

Return shipments created after this ISO 8601 timestamp.

order, 'created_at'

The field to sort by.

direction, 'asc' | 'desc'

The sort direction.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

Headers

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

Pins the request to a dated API version.

Response

narrows to one buyer

object required
data, Shipment[] required
page_info, object required

Example response

{
  "data": [
    {
      "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"
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • info

      added the new optional query request parameter user_id

    • info

      added the required property data/items/product to the response with the status

    • breaking

      for the query request parameter first, default value 20 was added

    2 more changes in this revision