Product Details

It is possible to retrieve the full tracking history for a product in a specific delivery. The purpose would be to in detail examine a product’s journey through the import process to be able to identify the reason for a rejection and amend the data.

Request

The following endpoint accepts the receipt ID and the product ID to provide a detailed description of that product in that delivery:

/import/<receiptId>/<productId>

The following HTTP status codes can be expected:

  • 200, accompanied with the response body described below
  • 404, when the delivery cannot be found, or no events have been recorded for that particular product

Response

The response body may look similar to this:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
[
  {
    "Timestamp": "2017-12-24T14:00:00.0000000Z",
    "TrackingId": "11c80f46f423431692c5291b997116a6",
    "TrackingCode": 1383146305,
    "ReceiptId": "00b24f3a93124da7aec34447124e5aa1",
    "MerchantId": "3ff7cdd47fe243d48e12ff62a1215a87",
    "ProductId": "product_a",
    "ChannelId": null,
    "Message": "Business constraint violation",
    "DebugInformation": null
  }
]

As seen above, the response is an array of events (shortened here for brevity).

Tip

The properties TrackingId (line 4) and TrackingCode (line 5) are the same ones as used in the Import Summary.