API reference
Addresses
The address book: senders, recipients and the default ship-from / ship-to.
List addresses
GET /v1/addresses
The account's address book.
Response in data
items• Required array of objectsEach item · 18
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl "https://api.parcelhub.ca/v1/addresses" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"items": [
{
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
}
]
},
"request_id": "01JBX7Q2…"
}Add an address
POST /v1/addresses
Adds an address to the address book. It can be made the default sender or recipient at the same time.
Request body
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.name• Required stringnickname• Required stringLabel for the address book, e.g. "Warehouse".
postal_code• Required stringPostal or ZIP code.
street• Required stringStreet address.
companystringCompany name.
emailstringEmail address.
is_default_frombooleanAlso make this the default sender.
is_default_tobooleanAlso make this the default recipient.
is_residentialbooleanTrue for a home address. Some carriers charge more for residential delivery.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
statestringProvince or state code, e.g.
ON,BC,NY.tagsarray of stringsYour own labels for the address.
Response in data
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl -X POST "https://api.parcelhub.ca/v1/addresses" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"email": "[email protected]",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
]
}'{
"ok": true,
"data": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
},
"request_id": "01JBX7Q2…"
}Get an address
GET /v1/addresses/{id}
One address book entry.
Path parameters
id• Required string
Response in data
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl "https://api.parcelhub.ca/v1/addresses/3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
},
"request_id": "01JBX7Q2…"
}Update an address
PATCH /v1/addresses/{id}
Replaces an address book entry with the fields sent.
Path parameters
id• Required string
Request body
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.name• Required stringnickname• Required stringLabel for the address book, e.g. "Warehouse".
postal_code• Required stringPostal or ZIP code.
street• Required stringStreet address.
companystringCompany name.
emailstringEmail address.
is_default_frombooleanAlso make this the default sender.
is_default_tobooleanAlso make this the default recipient.
is_residentialbooleanTrue for a home address. Some carriers charge more for residential delivery.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
statestringProvince or state code, e.g.
ON,BC,NY.tagsarray of stringsYour own labels for the address.
Response in data
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl -X PATCH "https://api.parcelhub.ca/v1/addresses/3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"email": "[email protected]",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
]
}'{
"ok": true,
"data": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
},
"request_id": "01JBX7Q2…"
}Delete an address
DELETE /v1/addresses/{id}
Removes an address from the address book. Shipments already made keep their copy.
Path parameters
id• Required string
Response in data
deleted• Required boolean
curl -X DELETE "https://api.parcelhub.ca/v1/addresses/3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"deleted": true
},
"request_id": "01JBX7Q2…"
}Make default sender
POST /v1/addresses/{id}/set-default-from
Makes this address the default ship-from address.
Path parameters
id• Required string
Response in data
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl -X POST "https://api.parcelhub.ca/v1/addresses/3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f/set-default-from" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
},
"request_id": "01JBX7Q2…"
}Make default recipient
POST /v1/addresses/{id}/set-default-to
Makes this address the default ship-to address.
Path parameters
id• Required string
Response in data
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl -X POST "https://api.parcelhub.ca/v1/addresses/3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f/set-default-to" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
},
"request_id": "01JBX7Q2…"
}Default addresses
GET /v1/addresses/defaults
The default ship-from and ship-to addresses, if set.
Response in data
default_fromobjectFields · 18
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
default_toobjectFields · 18
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
curl "https://api.parcelhub.ca/v1/addresses/defaults" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"default_from": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
},
"default_to": {
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
}
},
"request_id": "01JBX7Q2…"
}Address books
GET /v1/addresses/sources
Every address book this account can ship from: the account's own and, for a business account, the person's personal book.
Response in data
active• Required objectFields · 4
addresses• Required array of objectsEach item · 18
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
is_personal• Required booleanname• Required stringorganization_id• Required uuid
business_address_iduuidpersonalobjectFields · 4
addresses• Required array of objectsEach item · 18
city• Required stringCity.
country• Required stringTwo-letter country code, e.g.
CA,US.created_at• Required timestampWhen it was created (ISO 8601, UTC).
id• Required uuidis_default_from• Required booleanis_default_to• Required booleanis_residential• Required booleanTrue for a home address. Some carriers charge more for residential delivery.
name• Required stringnickname• Required stringpostal_code• Required stringPostal or ZIP code.
state• Required stringProvince or state code, e.g.
ON,BC,NY.street• Required stringStreet address.
tags• Required array of stringsupdated_at• Required timestampWhen it last changed (ISO 8601, UTC).
companystringCompany name.
emailstringEmail address.
line2stringApartment, suite or unit.
phonestringPhone number. Carriers need one for the recipient on most international and express services.
is_personal• Required booleanname• Required stringorganization_id• Required uuid
curl "https://api.parcelhub.ca/v1/addresses/sources" \
-H "Authorization: Bearer $TOKEN"{
"ok": true,
"data": {
"active": {
"addresses": [
{
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
}
],
"is_personal": false,
"name": "Alex Martin",
"organization_id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f"
},
"business_address_id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"personal": {
"addresses": [
{
"city": "Toronto",
"company": "Maple Goods Inc.",
"country": "CA",
"created_at": "2026-10-31T15:04:05Z",
"email": "[email protected]",
"id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f",
"is_default_from": false,
"is_default_to": false,
"is_residential": false,
"line2": "Suite 400",
"name": "Alex Martin",
"nickname": "string",
"phone": "+1 416 555 0100",
"postal_code": "M5V 2T6",
"state": "ON",
"street": "123 King St W",
"tags": [
"string"
],
"updated_at": "2026-10-31T15:04:05Z"
}
],
"is_personal": false,
"name": "Alex Martin",
"organization_id": "3f2b8c1e-5d6a-4b7c-9e0f-1a2b3c4d5e6f"
}
},
"request_id": "01JBX7Q2…"
}