Ideal House
Skip to content

Get Import Status#

The status endpoint returns the current or most recent import job for the shop.

http
GET https://sdkapi.ideal.house/product-import/products/status?shopId=<SHOP_ID>

Query Parameters#

FieldTypeRequiredConstraintsDescription
shopIdstringYesMaximum 64 charactersShop ID used when the batch was submitted.

cURL Example#

bash
curl --request GET \
  'https://sdkapi.ideal.house/product-import/products/status?shopId=shop_123' \
  --header 'X-Client-Id: <YOUR_CLIENT_ID>' \
  --header 'X-Client-Secret: <YOUR_CLIENT_SECRET>'

Response Fields#

FieldTypeDescription
jobIdstringIdentifier of the import job.
shopIdstringShop associated with the job.
statusstringOne of pending, running, completed, or failed.
totalCountnumberTotal number of products submitted.
processedCountnumberNumber of products processed so far.
successCountnumberNumber of products successfully created or updated.
failedCountnumberNumber of products that failed during item-level processing.
failuresarrayItem-level failures. Empty when no item-level failures have occurred.
createdAtstringJob creation time in ISO 8601 format.
startedAtstring or nullProcessing start time in ISO 8601 format.
updatedAtstringLast job update time in ISO 8601 format.
completedAtstring or nullTerminal time in ISO 8601 format.
errorstring or nullJob-level error. Normally populated only when status is failed.

processedCount equals successCount + failedCount.

successCount confirms that the product was created or updated in the catalog. It does not necessarily mean that image processing succeeded or that the product is immediately available for display.

Each object in failures contains:

FieldTypeDescription
indexnumberZero-based position of the product in the original products array.
skustringSKU of the failed product.
messagestringFailure description. Do not build application logic that depends on the exact message text.

Job Statuses#

StatusMeaningRecommended action
pendingThe request was accepted and is waiting to start.Continue polling.
runningProducts are being processed.Continue polling and use the count fields to display progress.
completedThe batch finished processing. Some products may still have failed.Check failedCount and failures.
failedA job-level error prevented the batch from completing normally.Review error, then retry as described below.

Completed Job with an Item-Level Failure#

json
{
  "jobId": "1930000000000000000",
  "shopId": "shop_123",
  "status": "completed",
  "totalCount": 2,
  "processedCount": 2,
  "successCount": 1,
  "failedCount": 1,
  "failures": [
    {
      "index": 1,
      "sku": "SKU-10002",
      "message": "Unable to import the remote image"
    }
  ],
  "createdAt": "2026-07-21T06:30:00.000Z",
  "startedAt": "2026-07-21T06:30:00.010Z",
  "updatedAt": "2026-07-21T06:30:08.000Z",
  "completedAt": "2026-07-21T06:30:08.000Z",
  "error": null
}

A completed status means the batch workflow finished; it does not mean every product succeeded. Item-level failures do not stop other products in the same batch.