Before you begin
To use this endpoint, you must:- Make sure you’ve completed basic account setup. See the Quickstart guide.
- Authenticate using API credentials (Basic auth) or OAuth2 client credentials. See Authentication.
- Have a valid tracking number and carrier code for the parcel you want to track.
Calling the endpoint
To create an external parcel for tracking, send aPOST request to:
Example request method and URL
Required parameters
To register a parcel for tracking, the following fields are required:No prior Sendcloud shipment or parcel ID is required — the API will register the parcel independently.
To see the parcel in Analytics, include
the
shipping_option_code in the ship_with property. Parcels created without a shipping option code will not appear
in analytics. You can retrieve valid shipping option codes via the Shipping Options
API.Optional parameters
You may optionally include additional contextual information:details: Additional parcel metadata such as:brand_id,expected_delivery_date, Service point flagsparcel_items: List of items included in the parcel. Useful for reporting and internal tracking.measurements: Parcel dimensions and weight. Helpful for logistics analytics and reporting.insurance: Insurance policy information if applicable.return_price: Return price context if relevant.
See the API reference for the full structure on both
required and optional fields.
Response
If the request is successful, it’ll include:- HTTP 200 status code
- A Parcel Tracking object containing:
created_at: When the tracking object was created in Sendcloudannounced_at: When the parcel was handed to the carrierupdated_at: Last time tracking data was updatedtracking_numbers— Carrier tracking identifiersfrom_addressandto_addressship_withdetails(if available)parcel_items(if provided)
Error Handling
If required fields are missing or invalid, the API returns an error response. Common causes include:- Missing required nested fields in
from_address/to_address - Invalid
tracking_numberformat or missing carrier code - Missing
ship_with.properties.shipping_option_code - Invalid or missing authentication credentials