Assign

Returns

Returns On-demand delivery details object

Returns

name

orderId

tip

estimateReference

contactlessDelivery

podType

podTypes

Example Request

curl --request POST \
     --url https://api.shipday.com/on-demand/assign \
     --header 'Accept: application/json' \
     --header 'Authorization: Basic BgxsDwd00n.LNNn90QydrjgZ1K9dS13' \
     --header 'Content-Type: application/json' \
     --data '{
     "name": "Hello Orders",
     "orderId": 1234,
     "tip": 6.5,
     "estimateReference": "12345",
     "contactlessDelivery": false,
     "podType": "PHOTO"
}'

Example Response

{
  "id": 1233,
  "orderId": 123213,
  "companyId": 8836,
  "adminId": 3894,
  "thirdPartyName": "Delivery Ninja",
  "referenceId": "1231232",
  "referenceTag": "Third party",
  "thirdPartyFee": 1.5,
  "shipdayCharge": 1.25,
  "totalBillableAmount": 2.75,
  "charged": false,
  "timestamp": "2021-08-21T23:34:10Z",
  "insertedAt": 16232323232,
  "data": "Example information data",
  "trackingUrl": "https://dispatch.shipday.com/tracking/bHZu1221w==&lang=en",
  "driverName": "Alex",
  "driverPhone": "+14234420986",
  "driverLat": 32.8069245,
  "driverLng": -170.368697,
  "driverImageUrl": "https://s3-us-west-2.amazonaws.com/qt.com.dashboard.profile.driver/somelinktothecarrierphoto.jpg",
  "driverVehicleDescription": null,
  "tip": 4.5,
  "processingFee": 0.5,
  "status": "PICKEDUP",
  "billable": false
}