Availability: Public Preview
This endpoint is currently in public preview and available only to approved accounts. Please contact Arta to request access for your organization.
Schedule a carrier pickup for a self-ship shipment with FedEx or DHL. Self-ship collections are available for pickup locations in the US and UK.
FedEx collections (service.carrier: "fedex") are scheduled as FedEx Ground or FedEx Express according to service.code. An optional package summary may be provided in service.package_details for express collections, and location.package_location tells the driver where to find the packages. FedEx collections cannot be cancelled through the API.
DHL collections (service.carrier: "dhl") are always scheduled with the DHL Express service, so service.code must be express. They require per-package dimensions and weight in service.package_details, and location.close_time must be at least 3 hours after collection_time. An international collection is subject to customs and requires service.declared_value and service.declared_value_currency; domestic collections may omit them. DHL collections can be cancelled with the cancel endpoint.
Responses
-
The created self-ship collection
-
The collection could not be scheduled: the pickup location is outside the supported countries, a carrier-specific requirement was not met, or the carrier rejected the collection.
-
Forbidden
-
The request body failed validation. Errors are keyed by the offending field path; invalid package measurement values are returned as a flat list.
curl \
--request POST 'https://api.arta.io/self_ship_collections' \
--header "Content-Type: application/json" \
--header "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y" \
--data '{
"self_ship_collection": {
"collection_date": "2026-03-06",
"collection_time": "10:00:00",
"location": {
"address_line_1": "123 Main St",
"address_line_2": "string",
"city": "New York",
"close_time": "17:00:00",
"contact": {
"email_address": "john@example.com",
"name": "John Doe",
"phone_number": "+1-555-123-4567"
},
"country": "US",
"package_location": "none",
"postal_code": "10001",
"region": "NY"
},
"service": {
"carrier": "fedex",
"code": "express",
"package_details": {
"package_count": 3,
"total_weight": "15.5",
"total_weight_unit": "lb"
},
"route": "domestic"
}
}
}'
# Headers
Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y
# Payload
{
"self_ship_collection": {
"collection_date": "2026-03-06",
"collection_time": "10:00:00",
"location": {
"address_line_1": "123 Main St",
"address_line_2": "string",
"city": "New York",
"close_time": "17:00:00",
"contact": {
"email_address": "john@example.com",
"name": "John Doe",
"phone_number": "+1-555-123-4567"
},
"country": "US",
"package_location": "none",
"postal_code": "10001",
"region": "NY"
},
"service": {
"carrier": "fedex",
"code": "express",
"package_details": {
"package_count": 3,
"total_weight": "15.5",
"total_weight_unit": "lb"
},
"route": "domestic"
}
}
}
# Headers
Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y
# Payload
{
"self_ship_collection": {
"collection_date": "2026-03-06",
"collection_time": "10:00:00",
"location": {
"address_line_1": "123 Main St",
"address_line_2": "string",
"city": "New York",
"close_time": "17:00:00",
"contact": {
"email_address": "john@example.com",
"name": "John Doe",
"phone_number": "+1-555-123-4567"
},
"country": "US",
"postal_code": "10001",
"region": "NY"
},
"service": {
"carrier": "dhl",
"code": "express",
"declared_value": "500.00",
"declared_value_currency": "USD",
"package_details": {
"packages": [
{
"depth": "12",
"height": "8",
"unit_of_measurement": "in",
"weight": "5.5",
"weight_unit": "lb",
"width": "10"
}
]
},
"route": "domestic"
}
}
}
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"closed_at": null,
"collection_date": "2026-03-06",
"collection_time": "10:00:00",
"created_at": "2026-03-01T12:00:00.000000",
"id": "550e8400-e29b-41d4-a716-446655440000",
"location": {
"address_line_1": "123 Main St",
"address_line_2": null,
"city": "New York",
"close_time": "17:00:00",
"contact": {
"email_address": "john@example.com",
"name": "John Doe",
"phone_number": "+1-555-123-4567"
},
"country": "US",
"package_location": "none",
"postal_code": "10001",
"region": "NY"
},
"service": {
"carrier": "dhl",
"code": "express",
"declared_value": "500.00",
"declared_value_currency": "USD",
"package_details": {
"packages": [
{
"depth": "12",
"height": "8",
"unit_of_measurement": "in",
"weight": "5.5",
"weight_unit": "lb",
"width": "10"
}
]
},
"route": "international"
},
"shortcode": "ACME-S3GP24",
"status": "scheduled",
"updated_at": "2026-03-01T12:00:00.000000"
}
{
"errors": [
"service.declared_value is required for international DHL collections",
"service.declared_value_currency is required for international DHL collections"
]
}
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"errors": {
"location/close_time": [
"must be at least 3 hours after collection_time"
]
}
}
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"errors": [
"service.package_details.packages[0].weight must be a number"
]
}