delivery_endpoints
Update delivery status
Rate limit: 8 requests per minute.
put/v1/delivery/{deliveryReferenceId}/status
Request
- Base URLhttps://partners.tryotter.com
- AuthOAuth 2Authorization code/v1/auth/oauth2/authorizeClient credentialsToken URL/v1/auth/tokenScopesdelivery.provider
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
deliveryReferenceIdstring required
A unique identifier of the delivery in a UUID format.
Example:295f76b4-5725-4bf5-a8ab-97943dbdc3b4
Request body
Example request
{
"estimatedDeliveryTime": "2007-12-03T09:15:30.000Z",
"estimatedPickupTime": "2007-12-03T09:15:30.000Z",
"courier": {
"name": "Jane Doe",
"phone": "+1-555-555-5555",
"phoneCode": "111 11 111",
"email": "email@email.com",
"personalIdentifiers": {
"serviceProviderId": "12345ba6-789e-123f-4e56-d78db90d123b"
}
},
"location": {
"latitude": 38.8977,
"longitude": 77.0365
},
"createdAt": "2007-12-03T09:15:30.000Z",
"vehicleInformation": {
"licensePlate": "ABCD 123",
"makeModel": "Honda Civic"
},
"currencyCode": "EUR",
"cost": {
"baseCost": 4.99,
"extraCost": 0.99
}
}Response
The event callback was successfully accepted.
Changes
No recorded changes to this operation across all 1 revision of this API.