Shipments V1

Retrieve shipment by shipment ID.

Changed on

This endpoint can be used to retrieve a shipment by OTTO internal shipment ID.

get/v1/shipments/{shipmentId}

Request

  • Base URL
    https://api.otto.market
  • URL
    https://api.otto.market/v1/shipments/{shipmentId}
  • Auth
    HTTP bearer

Path parameters

shipmentIdstring required

Internal shipment identifier assigned by OTTO Market.

Response

OK

shipmentIdstring

Internal shipment identifier assigned by OTTO Market.

creationDatestring
shipDatestring

Example response

{
  "shipmentId": "101068391469",
  "creationDate": "2019-10-11T07:49:12.642Z",
  "trackingKey": {
    "carrier": "HERMES",
    "trackingNumber": "H1234567890123456789"
  },
  "shipDate": "2019-09-19T13:00:00.000Z",
  "shipFromAddress": {
    "city": "Dresden",
    "countryCode": "DEU",
    "zipCode": "01067"
  },
  "positionItems": [
    {
      "positionItemId": "e454dff5-a96f-4e96-9399-710cf59645c2",
      "salesOrderId": "a46fb35b-9c77-41c9-af10-2676b756a9af",
      "returnTrackingKey": {
        "carrier": "DHL",
        "trackingNumber": "577546565072"
      },
      "returnAddressCarrierId": "7423afd2-e7ab-4bae-ac30-048b7c0346c1"
    }
  ],
  "states": [
    {
      "occurredOn": "2022-05-01T07:49:12.642Z"
    }
  ]
}

Changes

    • warning

      added the new LOOKWAY enum value to the / response property for the response status

    • warning

      added the new DHL_2_MANN_HANDLING enum value to the / response property for the response status