API ReferenceImports

Import sources and recent imports

GET /rest/v1/imports

GET
/imports

For every connected channel account products can be imported from: whether an import is queued or running right now (also one started in the dashboard or by connecting the channel), the filters that account accepts in POST /imports, the filters the store's plan ignores, and its latest imports started through the API with their progress, results and the minutes they took. Required scope: products:read.

AuthorizationBearer <token>

Authorization: Bearer nbl_live_... (or nbl_test_... for test mode). Test-mode writes are validated and simulated but never persisted and never touch channels; simulated results are marked simulated.

In: header

Response Body

application/json

curl -X GET "https://example.com/imports"
{  "object": "list",  "data": [    {      "object": "import_source",      "channel_account_id": "string",      "channel": "string",      "shop_name": "string",      "running": true,      "filters": {},      "filters_ignored_on_this_plan": [        "string"      ],      "recent": [        {          "id": "string",          "status": "pending",          "started_at": "2019-08-24T14:15:22Z",          "completed_at": "2019-08-24T14:15:22Z",          "minutes": 0,          "filters": {},          "processed": 0,          "created": 0,          "linked": 0,          "not_imported": 0,          "requires_attention": 0,          "error": "string",          "undone": true        }      ]    }  ]}

Need help?

Email us and a human replies, usually within one business day.