username:password
Authorization: Basic *****************
{
"trackers": [
{
"transaction_id": "{{capture_id}}",
"status": "SHIPPED",
"tracking_number": "{{tracking_number}}",
"carrier": "FEDEX",
"tracking_number_type": "CARRIER_PROVIDED",
"shipment_date": "{{todays_date}}",
"carrier_name_other": "FEDEX Ground",
"notify_buyer": true,
"quantity": 1,
"tracking_number_validated": true
}
]
}
curl --location --request POST 'https://api-m.sandbox.paypal.com/v1/shipping/trackers-batch' \
--header 'PayPal-Request-Id: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"trackers": [
{
"transaction_id": "{{capture_id}}",
"status": "SHIPPED",
"tracking_number": "{{tracking_number}}",
"carrier": "FEDEX",
"tracking_number_type": "CARRIER_PROVIDED",
"shipment_date": "{{todays_date}}",
"carrier_name_other": "FEDEX Ground",
"notify_buyer": true,
"quantity": 1,
"tracking_number_validated": true
}
]
}'
{
"tracker_identifiers": [
{
"transaction_id": "52909142TS941641N",
"tracking_number": "1681230549",
"links": [
{
"href": "https://api-m.sandbox.paypal.com/v1/shipping/trackers/52909142TS941641N-1681230549",
"rel": "self",
"method": "GET",
"encType": "application/json"
},
{
"href": "https://api-m.sandbox.paypal.com/v1/shipping/trackers/52909142TS941641N-1681230549",
"rel": "replace",
"method": "PUT",
"encType": "application/json"
}
]
}
],
"errors": [],
"links": [
{
"href": "https://api-m.sandbox.paypal.com/v1/shipping/trackers-batch",
"rel": "self",
"method": "POST",
"encType": "application/json"
}
]
}