Quick Start

Five steps from registration to first label and tracking. The first three steps are free and work with a test key.

1. Get your key

Register and open the “API” section in your dashboard. Create a test key sk_test_… (for testing) and later a live key sk_live_… (for purchases). The key is shown once, save it. In the examples below, it is taken from an environment variable.

shell
export SHIPPICKUP_API_KEY=sk_test_your_key_here

2. Check the connection

The ping method is open and requires no key; it shows that the API is available.

curl https://api.shippickup.com/v1/ping \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"
JSON
{
    "data": {
        "status": "ok",
        "version": "v1"
    }
}

3. Find out the rates

Provide origin, destination, and parcel parameters (weight in grams, dimensions in millimeters, all integers). The response returns rates sorted by ascending price, each with a rate_id.

curl -X POST https://api.shippickup.com/v1/rates \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": {
        "country": "US",
        "postal_code": "10001",
        "city": "New York"
    },
    "to": {
        "country": "DE",
        "postal_code": "10117",
        "city": "Berlin"
    },
    "parcel": {
        "weight_g": 800,
        "length_mm": 250,
        "width_mm": 180,
        "height_mm": 80
    },
    "declared_value_cents": 5000
}'
JSON
{
    "data": [
        {
            "rate_id": "<rate_id>",
            "carrier": "UPS",
            "service": "Express Saver",
            "price_cents": 4120,
            "price": "41.20",
            "currency": "USD",
            "eta_days_min": 3,
            "eta_days_max": 5,
            "pickup_supported": true,
            "chargeable_weight_g": 800
        }
    ],
    "meta": {
        "count": 1,
        "partial": false
    }
}

4. Buy a label

Purchasing works only with a live key and requires funds on the balance. Provide the rate_id of the selected rate, full addresses, parcel, and contents. The Idempotency-Key header is mandatory: it protects against double charges on retries.

curl -X POST https://api.shippickup.com/v1/shipments \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Idempotency-Key: order-10452-label-v1" \
  -H "Content-Type: application/json" \
  -d '{
    "rate_id": "<rate_id>",
    "from": {
        "name": "Acme Store",
        "company": "Acme Inc",
        "line1": "350 5th Ave",
        "city": "New York",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "phone": "+12125550100",
        "email": "shipping@example.com"
    },
    "to": {
        "name": "Anna Schmidt",
        "line1": "Unter den Linden 1",
        "city": "Berlin",
        "postal_code": "10117",
        "country": "DE",
        "phone": "+493012345678",
        "email": "anna@example.com"
    },
    "parcel": {
        "weight_g": 800,
        "length_mm": 250,
        "width_mm": 180,
        "height_mm": 80
    },
    "items": [
        {
            "description": "T-shirts",
            "quantity": 2,
            "unit_value_cents": 2500,
            "origin_country": "US"
        }
    ],
    "declared_value_cents": 5000,
    "reference": "ORDER-10452"
}'

The response will include the order id, carrier, tracking_number, and price. The label PDF can be downloaded via GET /shipments/{id}/label or from the dashboard in the orders section.

5. Track your parcel

Enter the order number or tracking number. The response includes status and transit events.

curl https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/tracking \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"

What's next