Developers
Get Started
OpenAPI ↗
REST API v1 · Developer previewLive API credentials are not yet generally available. Approved test access uses sandbox-api.parcelxpert.com.

Resources

Error codes

The hosted sandbox uses the server gateway catalogue below. Live shipping remains disabled. A request_in_progress error may also return 503 when result persistence cannot be confirmed.

Optional local fixture

CodeHTTPMessage
missing_api_key401An API key is required.
invalid_api_key401The API key is invalid or inactive.
insufficient_scope403The API key does not grant this operation.
not_found404The resource was not found.
invalid_json400The request body must contain valid JSON.
invalid_request422The request does not match the API schema.
invalid_postcode422The postcode format is invalid.
quote_expired409Request a new quote before booking.
quote_mismatch409The shipment route or parcels differ from the selected quote.
idempotency_required400A valid Idempotency-Key header is required.
idempotency_conflict409This idempotency key was used with a different request.
request_in_progress409The request is in progress or awaiting reconciliation.
invalid_cursor400The pagination cursor is invalid.
rate_limit_exceeded429The sandbox request limit was exceeded.
provider_unavailable503Shipping services are temporarily unavailable.
provider_failure502The shipping operation could not be confirmed.
cancellation_not_allowed409The shipment can no longer be cancelled automatically.
label_not_available404This label format is not available.
live_not_available503Live REST API access is not available.
method_not_allowed405The HTTP method is not supported.
payload_too_large413The request body exceeds 256 KiB.
internal_error500The request could not be completed.
collection_not_supported422This service does not support collection booking.

Hosted sandbox gateway

CodeHTTPMessage
insufficient_balance409The prepaid available balance is insufficient.
live_payments_disabled503Live API payments are disabled.
payment_evidence_conflict409This payment evidence conflicts with a recorded credit.
invalid_payment_signature400The payment signature is invalid.
invalid_payment_evidence422Verified payment evidence is required.
refund_not_authorized403A confirmed cancellation and approved refund amount are required.
refund_conflict409The refund conflicts with a recorded refund.
spend_limit_exceeded403The approved API spending limit would be exceeded.
collection_required422This service requires a collection schedule.
webhook_disabled409Enable this sandbox webhook endpoint before queuing an event.
webhook_limit_exceeded422An organisation can register up to 20 sandbox webhook endpoints.
webhook_not_configured503Sandbox webhook delivery is not configured.
customs_required422DAP customs data is required for this international shipment.
provider_rejected422The shipping service rejected the booking.
invalid_transition409This shipment status transition is not permitted.
cancellation_not_allowed409The shipment can no longer be cancelled.
collection_not_supported422This service or shipment does not support collection changes.
domain_contract_unavailable503The shipping service contract could not be verified.
missing_api_key401An API key is required.
invalid_api_key401The API key is invalid or unavailable.
insufficient_scope403This API key does not have the required scope.
account_unavailable403The developer account is unavailable for this request.
invalid_request422The request is invalid.
not_found404The resource was not found.
idempotency_required400An Idempotency-Key header is required.
idempotency_conflict409This key was already used with a different request.
request_in_progress409The request is in progress or awaiting reconciliation.
rate_limit_exceeded429The request limit was exceeded.
live_not_available503Live REST API access is not enabled.
billing_not_configured503API billing has not been approved or configured.
provider_unavailable503Shipping services are temporarily unavailable.
internal_error500The request could not be completed.
domain_validation_failed422The shipping details could not be accepted.
invalid_cursor400The pagination cursor is invalid.
payload_too_large413The request body exceeds 256 KiB.
quote_expired409The quote has expired.
quote_mismatch409The shipment does not match the quote.
test_live_purchase_forbidden403This credential belongs to the other API environment.
hosted_test_not_configured503The hosted test provider is not configured.
unsupported_route422No supported service is available.
invalid_postcode422The postcode is invalid.
operation_not_enabled422This operation is not enabled.
collection_not_enabled422API collection changes are not enabled.
cancellation_not_enabled422API cancellation is not enabled.
label_not_available404This label format is not available.
booking_verification_required503The booking outcome is uncertain. Retry the identical request with the same Idempotency-Key.
provider_purchase_disabled503Provider purchasing is disabled.
tracking_ambiguous409Use the shipment ID to identify this tracking number.
invalid_json400The request body must contain valid JSON.