younifyd
Menu

Get Import

Get import

GET/inventories/imports/{import_uuid}

Use it in a workflow

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

Request

Path parameters

import_uuidstringrequired

The unique identifier of the import.

Query parameters

page[offset]integer (int)

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**](https://elasticpath.dev/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.

page[limit]integer (int)

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 the [**page length**](https://elasticpath.dev/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 {{getImport.response.data.<field>}}.

dataobject
idstringrequired

The unique identifier.

typestringrequired

One ofinventories_import

attributesobjectrequired2 fields
metaobjectrequired2 fields
json
{
  "data": {
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "inventories_import",
    "attributes": {
      "status": "pending",
      "external_ref": "abc123"
    },
    "meta": {
      "timestamps": null,
      "records": {
        "uploaded": {
          "stock": 50000
        },
        "imported": {
          "stock": 50000
        }
      }
    }
  }
}

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

Was this page helpful?
Get Import — Elastic Path — Documentation