Tabs

The Tabs Import Endpoint

https://{BASE_URL}/imports/tabs

All import integration endpoints use the same authentication parameters, please see Authentication page for more details.

Like the Product Import, this endpoint uses Import Queues to handle all imported data.

The tabs list is just a single value containing an array of filters. This means that any post to this endpoint will overwrite the current tabs with the newly posted one.

[
    {
        "filter": {
            "tag": "new"
        }
    },
    {
        "filter": {
            "tag": "popular"
        }
    },
    {
        "filter": {
            "tag": "recommended"
        }
    },
    {
        "filter": {
            "tag": "offers"
        }
    }
]

The tabs is described by an array of filters. The filters can currently specify tags that much be matched for products to be included on the selected tab. This may be expanded upon in the future.

Shared Integration Queue Parameters

For all integration queue import endpoints, you need to specify account, integration and apikey. Please read the Import Queues below for details about these parameters.

https://{BASE_URL}/imports/tabs?account=[ACCOUNT ID]&integration=[INTEGRATION QUEUE ID]&apikey=[INTEGRATION QUEUE API KEY]

Deleting Tabs

Since there only exists one array of tabs, sending an HTTP DELETE request to the endpoint without any contents will delete the tabs.