Update shipment location
This endpoint is used to update the location of a shipment. The location is updated with the latitude, longitude, and additional details of the shipment.
Header Parameters
API Key generated in the settings. For third-party apps, Chaine will provide this key.
Request Body required
Latitude of the shipment location. Either latitude/longitude or city/stateCode must be provided.
Longitude of the shipment location. Either latitude/longitude or city/stateCode must be provided.
Date and time of the location update. If not provided, the current date and time is assumed.
Street address of the shipment location.
City of the shipment location. Either latitude/longitude or city/stateCode must be provided.
State code of the shipment location. Either latitude/longitude or city/stateCode must be provided.
Zip code of the shipment location.
Country code of the shipment location.
Shipment number unique to the Chaine customer.
- 200
- 400
- 401
OK
Schema
{
"message": "string"
}
{
"message": "Location updated successfully"
}
Bad Request
Schema
{
"error": "string"
}
{
"error": "Invalid input data"
}
Unauthorized
Schema
{
"error": "string"
}
{
"error": "Invalid API key"
}