Delete address

Removes an address from the address book. Orders already created keep their own copy of the address.

DELETE /addresses/{id}

Parameters

NameTypeRequiredDescription
id string yes Address number (field id from the response).

Important to know

Request example

curl -X DELETE https://api.shippickup.com/v1/addresses/b7e2c9a41d5f4830a6c1e8d2f4 \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"

Response example 200

JSON
{
    "data": {
        "id": "b7e2c9a41d5f4830a6c1e8d2f4",
        "deleted": true
    }
}

Possible errors

HTTPCodeDescription
404not_foundObject not found among your account's objects (order, address, invoice, webhook, member, or team invitation), or the order has no active pickup, or the method does not exist. Objects belonging to others appear as non-existent.
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.

Full list of error codes →