What it does. Registers a carrier tracking number on an externally-fulfilled shipment.
When to use. Call this once the logistics service provider has a tracking number for the parcel.
Version. Tracking V2 — recommended.
application/json
POST
/V2/external_fulfillment/shipment/track
cURL (application/json)
curl \
--request POST 'https://m2.winkelstraat.nl/rest/all/V2/external_fulfillment/shipment/track' \
--header "Content-Type: application/json" \
--data '{
"track": {
"increment_id": "000000284",
"track_number": "1Z97W1439109104347",
"carrier_code": "ups",
"carrier_method": "11",
"logistics_service_provider_code": "promese",
"shipment_token": "0:3:CS70ed/6GtDiRsvfuF2Q/5iArqmSr7mYy832e5xZTQ=="
}
}'
curl \
--request POST 'https://m2.winkelstraat.nl/rest/all/V2/external_fulfillment/shipment/track' \
--header "Content-Type: application/xml"
Request examples
{
"track": {
"increment_id": "000000284",
"track_number": "1Z97W1439109104347",
"carrier_code": "ups",
"carrier_method": "11",
"logistics_service_provider_code": "promese",
"shipment_token": "0:3:CS70ed/6GtDiRsvfuF2Q/5iArqmSr7mYy832e5xZTQ=="
}
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<track>
<increment-id>000000284</increment-id>
<track-number>1Z97W1439109104347</track-number>
<carrier-code>ups</carrier-code>
<carrier-method>11</carrier-method>
<logistics-service-provider-code>promese</logistics-service-provider-code>
<shipment-token>0:3:CS70ed/6GtDiRsvfuF2Q/5iArqmSr7mYy832e5xZTQ==</shipment-token>
</track>
</root>
Response examples (500)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (500)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>