Skip to main content

Get Deliveries by ExternalId

GET 

https://api.goodsdelivery.io/v1/deliveries/externalId/:externalId

Authorization: x-api-key

name: x-api-keytype: apiKeyscopes: brandin: header

Get Deliveries by ExternalId

Request

Path Parameters

    externalId stringrequired

    external Id.

Responses

Object with list of deliveries

Schema
    pagesCount numberrequired
    page numberrequired
    objectsCount numberrequired
    objects object[]required
  • Array [
  • jobDetails objectrequired
    id stringrequired
    shortId stringrequired
    externalId stringrequired
    brandId stringrequired
    brandName stringrequired
    brandLogoUrl stringrequired
    consumer objectrequired
    firstName stringrequired
    lastName stringrequired
    phone phone

    Phone is required when email is not provided

    email email

    Email is required when phone is not provided

    pickUp objectrequired
    name string

    Company name

    address1 stringrequired
    address2 string
    city stringrequired
    zipCode stringrequired
    state stringrequired

    2 letter state code - ISO 3166-2

    country stringrequired

    2 letter country code - ISO 3166-2

    note string

    Address note - how to get there, etc.

    coordinates object
    lat numberrequired
    lng numberrequired
    dropOff objectrequired
    name string

    Company name

    address1 stringrequired
    address2 string
    city stringrequired
    zipCode stringrequired
    state stringrequired

    2 letter state code - ISO 3166-2

    country stringrequired

    2 letter country code - ISO 3166-2

    note string

    Address note - how to get there, etc.

    coordinates object
    lat numberrequired
    lng numberrequired
    serviceType ServiceTyperequired

    Possible values: [SAME_DAY, NEXT_DAY, SCHEDULED]

    Determine the delivery date, including pick-up and drop-off times.

    contactlessPreferred boolean
    addons Addon[]

    Possible values: [EXTRA_INSURANCE, SIGNATURE_REQUIRED, WITHOUT_LABEL]

    Add-ons for the delivery service

    packagesTotalValueUsd number
    packages object[]
  • Array [
  • volumeFt3 number

    Volume of the package in cubic foot (ft3), if known

    weightLbs number

    Package weight in pounds (lbs), if known.

    lengthIn number

    Length of the pack in inches, if known.

    widthIn number

    Width of the pack in inches, if known.

    heightIn number

    Height of the pack in inches, if known.

  • ]
  • savedCo2Kg number

    Estimated amount of CO2 the delivery will save the environment

    createdAt string
    updatedAt string
    deliveryDetails objectrequired
    pickUpTimeSlot objectrequired
    earliest stringrequired
    latest stringrequired
    dropOffTimeSlot objectrequired
    earliest stringrequired
    latest stringrequired
    courier object
    name string
    phone string
    photo string
    vehicleType string
    vehicleImage string
    realTimeCoordinates object
    lat numberrequired
    lng numberrequired
    status objectrequired
    currentStatus stringrequired
    eta date-time

    Future date string with estimated time of arrival

    trackingUrl stringrequired
    totalStops number
    stopNumber number
    courierAtStop number
    historyDetails objectrequired
    earlierStatuses object[]
  • Array [
  • status stringrequired
    changedAt date-timerequired
    courierName string
    courierPhotoUrl string
  • ]
  • failedAttempts number
    completionDetails object
    completionTime date-timerequired
    proofOfDelivery objectrequired
    photoUrls string[]
    signatureUrl string
    coordinatesAtCompletion objectrequired
    lat numberrequired
    lng numberrequired
    completionNote string
    feedback string
    rating number
  • ]
curl -L -X GET 'https://api.goodsdelivery.io/v1/deliveries/externalId/:externalId' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.goodsdelivery.io/v1
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!