> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Forsendelse

> En fysisk forsendelse knyttet til en betaling, inklusive oplysninger om fragtfirma og sporing.

> [!NOTE]
>
> Denne ressource har en efterfølger i [Whop API](https://docs.whop.com/da/api-reference/legacy/shipments/list-shipments.md), det versionerede API, som nye integrationer bør bygge på. Denne side forbliver fuldt understøttet.

```json Example theme={null}
{
	"created_at": "2023-12-01T05:00:00.401Z",
	"delivery_estimate": "2023-12-01T05:00:00.401Z",
	"id": "ship_xxxxxxxxxxxxx",
	"payment": {
		"id": "pay_xxxxxxxxxxxxxx"
	},
	"service": "Priority",
	"status": "unknown",
	"substatus": "address_correction",
	"tracking_code": "9400111899223456789012",
	"updated_at": "2023-12-01T05:00:00.401Z"
}
```

**created\_at** `string\<date-time\>` *required*

Tidspunktet, hvor forsendelsen blev oprettet.

Eksempel: `2023-12-01T05:00:00.401Z`

**delivery\_estimate** `string\<date-time\> | null` *required*

Den forventede leveringsdato for denne forsendelse. Null, hvis fragtfirmaet ikke har angivet et estimat.

Eksempel: `2023-12-01T05:00:00.401Z`

**id** `string` *required*

Den unikke identifikator for forsendelsen.

Eksempel: `ship_xxxxxxxxxxxxx`

**payment** `object | null` *required*

Betalingen knyttet til denne forsendelse. Null, hvis betalingen er blevet slettet eller er utilgængelig.

**underordnede attributter**

**id** `string` *required*

Den unikke identifikator for betalingen.

Eksempel: `pay_xxxxxxxxxxxxxx`

**service** `string | null` *required*

Det forsendelsesserviceniveau, der blev brugt til denne forsendelse. Null, hvis fragtfirmaet ikke angiver et serviceniveau.

Eksempel: `Priority`

**status** `ShipmentStatuses` *required*

Denne forsendelses aktuelle leveringsstatus.

Tilgængelige muligheder: `unknown`, `pre_transit`, `in_transit`, `out_for_delivery`, `delivered`, `available_for_pickup`, `return_to_sender`, `failure`, `cancelled`, `error`

**substatus** `ShipmentSubstatuses | null` *required*

En mere detaljeret status, der giver yderligere oplysninger om forsendelsens aktuelle tilstand. Null, hvis ingen understatus gælder.

Tilgængelige muligheder: `address_correction`, `arrived_at_destination`, `arrived_at_facility`, `arrived_at_pickup_location`, `awaiting_information`, `substatus_cancelled`, `damaged`, `delayed`, `delivery_exception`, `departed_facility`, `departed_origin_facility`, `expired`, `substatus_failure`, `held`, `substatus_in_transit`, `label_created`, `lost`, `missorted`, `substatus_out_for_delivery`, `received_at_destination_facility`, `received_at_origin_facility`, `refused`, `return`, `status_update`, `transferred_to_destination_carrier`, `transit_exception`, `substatus_unknown`, `weather_delay`

**tracking\_code** `string` *required*

Det sporingsnummer, fragtfirmaet har tildelt, og som bruges til at slå forsendelsens fremskridt op.

Eksempel: `9400111899223456789012`

**updated\_at** `string\<date-time\>` *required*

Tidspunktet, hvor forsendelsen sidst blev opdateret.

Eksempel: `2023-12-01T05:00:00.401Z`


## Related topics

- [API-versioner](https://docs.whop.com/da/developer/api/versioning.md)
- [Create shipment](https://docs.whop.com/da/api-reference/legacy/shipments/create-shipment.md)
- [List shipments](https://docs.whop.com/da/api-reference/legacy/shipments/list-shipments.md)
