Productsup
Platform API

Import history

Retrieve import history for a site using the Platform API.

1 min read

The import history endpoint provides metadata about the most recent imports for a site.

Import history is always scoped to a single site. Creating and deleting import history records is not supported.

Get

Use a GET request to list import history for a site.

curl https://platform-api.productsup.io/platform/v2/sites/123/importhistory
{
    "success": true,
    "Importhistory": [
        {
            "id": "11111111",
            "site_id": 1234,
            "import_time": "2015-01-01 11:22:33",
            "product_count": "18370",
            "pid": "47e6b828-3210-3568-8ec3-85ed3e2d944c",
            "links": [...]
        },
        ...
    ]
}

HTTP request

GET https://platform-api.productsup.io/platform/v2/sites/<siteId>/importhistory

FieldTypeDescription
siteIdintegerSite to retrieve import history for

Response fields

FieldTypeDescription
successbooleanIndicates request status
ImporthistoryarrayList of import history records

Import history fields

FieldTypeDescription
idintegerInternal ID
site_idintegerID of the referenced site
import_timedateDate of the import
product_countintegerTotal number of products imported
pidstringProcess ID (UUID 32 format)
linksarraySee link fields
NameDescription
siteLink to site

On this page

Still stuck?

Reach out to our support team and we’ll help you get unstuck.

Contact support