Get delivery

This endpoint provides you with a complete overview of a delivery. You can request this endpoint through the `delivery_id` or any other reference declared when creating the delivery.

Reference Ids are identifiers from your system that can be attached to a Shippify delivery so you can later on fetch it through it.

Endpoint

GET {{SHIPPIFY_API_URL}}/v1/deliveries/:deliveryId/complete

Request

PropertyTypeDescriptionRequiredConstraints

deliveryId

string

Id of the task created within the system, you can also use the reference id here

YES

Response

PropertyTypeDescription

id

string

Id of the task created within the system.

route

object

Route data.

route.id

array

Id of the route assigned at delivery.

route.order

number

Position of the delivery in the route.

recipient

Contact information of the person who will provide the packages at the time of collection.

pickup

object

Price for that particular delivery.

pickup.date

string

Estimated date of pickup. Format AAAA-MM-DDTHH:mm:ss.000Z

dropoff

object

Dropoff data.

dropoff.location

Dropoff location data.

dropoff.date

string

Estimated date of dropoff. Format AAAA-MM-DDTHH:mm:ss.000Z

courier

object

Driver assigned information.

courier.info

number

Driver assigned information.

courier.info.shipperId

number

Id of the driver assigned in the system.

courier.info.shipperDocId

string

Document Id of the driver assigned in the system.

courier.info.shipperName

string

Name of the driver assigned.

courier.info.vehicleLicensePlate

number

Vehicle license plate of the driver assigned.

courier.info.vehicleType

string

Vehicle type of the driver assigned.

courier.info.vehicleModel

string

Vehicle model of the driver assigned.

courier.location

object

Location of the driver assigned in the last status.

courier.location.lat

number

Latitude of the driver assigned in the last status.

courier.location.lng

number

Longitude of the driver assigned in the last status.

items

array of Package

Packages of the task

status

number

Id of current task state

_status

string

Name of current task status

status_lang

string

Name translation of current task status

distance

number

Distance between the pickup point and the delivery point for this task.

company

string

Company name

referenceId

string

Reference id of the task

metadata

object

Additional data of the task

groupId

string

Id of the task group

reasonId

number

This field is filled when the task has a pickup/dropoff problem.

reasonText

string

Reason description

lastStatusDate

string

Date of last update status

tags

array of string

Tags of the task

Example

curl --location --request GET 'https://api.shippify.co/v1/deliveries/t-pruaas-4973/complete' \
--header 'Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=' \
--header 'Cookie: locale=es'