Productsup
Platform API

Channel history

Retrieve channel execution history for a site using the Platform API.

3 min read

The channel history endpoint provides information about the most recent exports of a channel.

Creating and deleting channel history records is not supported.

Get

Use a GET request to retrieve the export history for a channel.

curl https://platform-api.productsup.io/platform/v2/sites/123/channels/321/history
{
    "success": true,
    "Channels": [
        {
            "id": "321",
            "site_id": "123",
            "channel_id": "1",
            "name": "Google Merchant Center DE",
            "export_name": "Google Merchant Center",
            "links": [...],
            "history": [
                {
                    "id": "333",
                    "site_id": "123",
                    "site_channel_id": "444",
                    "export_time": "2015-09-30 10:18:56",
                    "export_start": "2015-09-30 10:18:54",
                    "product_count": "18697",
                    "pid": "560b96899e334",
                    "product_count_new": "0",
                    "product_count_modified": "0",
                    "product_count_deleted": "0",
                    "product_count_unchanged": "0",
                    "uploaded": "0"
                },
                ...
            ]
        }
    ]
}

HTTP request

GET https://platform-api.productsup.io/platform/v2/sites/<siteId>/channels/<channelId>/history

FieldTypeDescription
siteIdintegerSite the channel belongs to
channelIdintegerChannel to retrieve history for; use the site channel relation ID

Response fields

FieldTypeDescription
successbooleanIndicates request status
ChannelsarrayList of channels

Channel fields

FieldTypeDescription
idintegerID of the site channel relation
site_idintegerID of the referenced site
channel_idintegerID of the channel
namestringName of the export as configured on the channel
export_namestringGeneric name of the export in the Productsup system
linksarraySee link fields
historyarraySee history fields
NameDescription
selfLink to channel detail
siteLink to site

History fields

FieldTypeDescription
idintegerInternal identifier
site_idintegerIdentifier of the referenced site
site_channel_idstringInternal ID for the combination of an export and site
export_timedateTimeTime when the process finished
export_startdateTimeTime when the process started
product_countintegerNumber of products exported
pidstringInternal identifier for the process
product_count_newintegerNumber of new products (delta exports only)
product_count_modifiedintegerNumber of updated products (delta exports only)
product_count_deletedintegerNumber of deleted products (delta exports only)
product_count_unchangedintegerNumber of unchanged products (delta exports only)
uploadedintegerIndicates whether the export was uploaded to its destination

On this page

Still stuck?

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

Contact support