Add address

Saves an address to the address book. Fields are validated the same way as in the dashboard: postal code and state by country, carrier length restrictions.

POST /addresses

Parameters

NameTypeRequiredDescription
label string no Address name for you, up to 100 characters.
kind string no Address type: sender (shipper), recipient (receiver), or both (general, default).
name string yes Contact name, up to 22 characters (carrier restriction).
company string no Company, up to 27 characters.
line1 string yes Address line 1, up to 35 characters.
line2 string no Address line 2, up to 35 characters.
city string yes City, up to 100 characters.
state string no State or province (required for countries where applicable, e.g., USA).
postal_code string yes Postal code, format validated by country.
country string yes Country, ISO 3166-1 alpha-2 code, e.g., US. Must match the address type (shipping from or delivery to the country).
phone string yes Phone number, at least 6 digits.
email string yes Contact email.
is_default boolean no true: set the address as primary (this happens automatically for the first address in the book).

Important to know

Request example

curl -X POST https://api.shippickup.com/v1/addresses \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Idempotency-Key: order-10452-label-v1" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Warehouse NYC",
    "kind": "sender",
    "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",
    "is_default": true
}'

Response example 201

JSON
{
    "data": {
        "id": "b7e2c9a41d5f4830a6c1e8d2f4",
        "label": "Warehouse NYC",
        "kind": "sender",
        "name": "Acme Store",
        "company": "Acme Inc",
        "line1": "350 5th Ave",
        "line2": "",
        "city": "New York",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "phone": "+12125550100",
        "email": "shipping@example.com",
        "is_default": true,
        "created_at": "2026-12-01T09:00:00+00:00",
        "updated_at": "2026-12-01T09:00:00+00:00"
    }
}

Possible errors

HTTPCodeDescription
422validation_failedError in request fields. error.details specifies the reason for each field.
422idempotency_key_requiredMissing or invalid Idempotency-Key header: must be 16–64 characters A-Za-z0-9_-.
422idempotency_key_reusedЭтот Idempotency-Key уже использован для другого запроса: для нового запроса нужен новый ключ.
403insufficient_scopeKey lacks the required permission, specified in error.details.required_scope.
429rate_limitedKey request limit exceeded. Retry after the time specified in the Retry-After header.
409conflictAction is currently not possible for this order (e.g., order cannot be canceled or pickup already ordered). Reason text in error.message.

Full list of error codes →