Skip to content

Shipment

Bakhtarian edited this page May 14, 2026 · 1 revision

Shipment

A shipment records the physical delivery of a tangible product sold through Whop — including carrier, tracking, and fulfillment details.

SDK access

$client->shipments // Matchable\Whop\Resource\ShipmentResource

Endpoints

create(array $data): array

HTTP POST shipments
Does Creates a new shipment.
Parameters $data — shipment attributes (e.g. order/membership reference, carrier, tracking number, address).
Returns array

list(array $query = []): array

HTTP GET shipments
Does Lists shipments.
Parameters $query — optional filters / pagination.
Returns array

get(string $id): array

HTTP GET shipments/{id}
Does Retrieves a single shipment by ID.
Parameters $id — the shipment ID.
Returns array

Example

$shipment = $client->shipments->create([
    'carrier' => 'usps',
    'tracking_number' => '9400100000000000000000',
]);

$shipment = $client->shipments->get($shipment['id']);

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally