Sample Flows

This article presents possible sample flows that you can support. This can be a helpful jumping-off point as you plan your implementation.

Note: Learn more about querying data collections using API Query Language.

Set items' Publish status

On a data collection that has the Publish plugin, create a task to publish all special-edition holiday items at the specified time:

  1. Call Create Task and specify the following parameters:

    Copy

    The method returns the following response:

    Copy
  2. At any point, you can check the task status by calling the Get Task method with the task ID.

    The method returns a response such as:

    Copy

Delete items by query

Create a task to retrieve and delete all products from a specified manufacturer:

  1. Call Create Task and specify the following parameters:

    Copy

    The method might return the following response:

    Copy
  2. At any point, you can check the task status by calling the Get Task method with the task ID.

The method returns a response such as:

Copy
Did this help?