Book Shipment
Collate your shipment rate and information to be booked.
Payload
Notes:
Request Sample
curl --location 'https://delivery-staging.apiideraos.com/api/v2/token/bookshipment' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Secrek Key' \
--data '{
"redis_key": "2c89e045-3a84-4316-923a-7729edbe4e21",
"user_id": 96,
"rate_id": "2c89e045-3a84-4316-923a-7729edbe4e21",
"platform": "web2",
"delivery_note": "Leave at the reception in my condo"
}'import requests
import json
url = "https://delivery-staging.apiideraos.com/api/v2/token/bookshipment"
payload = json.dumps({
"redis_key": "2c89e045-3a84-4316-923a-7729edbe4e21",
"user_id": 96,
"rate_id": "2c89e045-3a84-4316-923a-7729edbe4e21",
"platform": "web2",
"delivery_note": "Leave at the reception in my condo"
})
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer Secrek Key'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Response Sample
Last updated