Shipments
Sync Shipment Tracking
Synchronizes shipment tracking information by fetching real-time data from the courier using the existing tracking number. This endpoint retrieves the latest tracking updates directly from the shipping provider and performs instant verification of the shipment status, ensuring that the shipment data is current and accurate.
post/shipments/{shipment_id}/sync
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
shipment_idstring required
ID of the Shipment to sync tracking for
Response
An object representing the Shipment.
Example response
{
"id": "ship_1234567890abcdef",
"merchant_invoice_id": "inv_1234567890abcdef",
"fulfillment_method": "shipping_provider",
"shipment_tracking_number": "1Z123E45678901234",
"shipment_courier": "ups",
"verification_status": "verified",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T14:45:00Z",
"tracking_status": "delivered",
"tracking_substatus": "delivered_001",
"expected_delivery": "2024-01-20T18:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.