younifyd
Menu

List Import Jobs 2

List import jobs

GET/v2/subscriptions/imports

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the List Import Jobs 2 action (under Subscriptions).
  3. Fill in the fields below, then reference the result from later steps as {{listImportJobs2.response.data}}.

Request

Query parameters

filterstring (string)

Some Subscriptions API endpoints support filtering. For the general syntax, see [**Filtering**](/guides/Getting-Started/filtering), but you must go to a specific endpoint to understand the attributes and operators an endpoint supports.

page[offset]integer (int64)

The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [page length](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.

page[limit]integer (int64)

The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the [page length](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.

Response

Returns 200 with an object. Read it in later steps with {{listImportJobs2.response.data.<field>}}.

dataarray<object>
idstring (uuid)

The unique identifier.

typestringrequired

One ofsubscription_import

attributesobjectrequired2 fields
metaobjectrequired3 fields
linksobject
json
{
  "data": [
    {
      "type": "subscription_import",
      "attributes": {
        "status": "pending",
        "external_ref": "abc123"
      },
      "meta": {
        "owner": "store",
        "timestamps": null,
        "records": {
          "uploaded": {
            "subscription_feature": 50000,
            "subscription_subscriber": 50000,
            "subscription_offering": 50000,
            "subscription": 50000
          },
          "imported": {
            "subscription_feature": 50000,
            "subscription_subscriber": 45090,
            "subscription_offering": 45090,
            "subscription": 45090
          }
        }
      },
      "id": "11111111-2222-3333-4444-555555555555"
    }
  ],
  "links": {}
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.