Skip to main content
GET
/
tokens
/
imports
/
{id}
/
failures
Get import failures
curl --request GET \
  --url https://sandbox.hellgate.io/tokens/imports/{id}/failures \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "reason": "destination_error",
      "context": {}
    }
  ],
  "pagination": {
    "current_page": 1,
    "page_size": 1,
    "total_items": 1,
    "total_pages": 1
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string<uuid>
required

The ID of the import.

Query Parameters

limit
integer

The desired amount of records per page. The parameter defaults to 50 if it is omitted and has a maximum of 500.

Required range: 1 <= x <= 500
page
integer

The desired number of the page to return.

Required range: x >= 1

Response

Success response

data
object[]
pagination
object

The meta-data describing lists of data from the Commerce API. The pages are indexed from 1 up to the total_pages.

Example:
{
"current_page": 1,
"page_size": 1,
"total_items": 1,
"total_pages": 1
}