younifyd
Menu

Get products

Get products

GET/V1/products

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get products action (under Products).
  3. Fill in the fields below, then reference the result from later steps as {{getProducts.response.data}}.

Request

Query parameters

searchCriteria[filterGroups][0][filters][0][field]string

Field

searchCriteria[filterGroups][0][filters][0][value]string

Value

searchCriteria[filterGroups][0][filters][0][conditionType]string

Condition type

searchCriteria[sortOrders][0][field]string

Sorting field.

searchCriteria[sortOrders][0][direction]string

Sorting direction.

searchCriteria[pageSize]integer

Page size.

searchCriteria[currentPage]integer

Current page.

Response

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

itemsarray<object>

Attributes list.

idinteger

Id

skustringrequired

Sku

namestring

Name

attribute_set_idinteger

Attribute set id

pricenumber

Price

statusinteger

Status

visibilityinteger

Visibility

type_idstring

Type id

created_atstring

Created date

updated_atstring

Updated date

weightnumber

Weight

extension_attributesobject10 fields

ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductInterface

product_linksarray<object>6 fields

Product links info

optionsarray<object>15 fields

List of product options

media_gallery_entriesarray<object>9 fields

Media gallery entries

tier_pricesarray<object>4 fields

List of product tier prices

custom_attributesarray<object>2 fields

Custom attributes values.

search_criteriaobject

Search criteria interface.

filter_groupsarray<object>required1 fields

A list of filter groups.

sort_ordersarray<object>2 fields

Sort order.

page_sizeinteger

Page size.

current_pageinteger

Current page.

total_countinteger

Total count.

json
{
  "items": [
    {
      "sku": "string",
      "id": 0,
      "name": "string",
      "attribute_set_id": 0,
      "price": 0,
      "status": 0,
      "visibility": 0,
      "type_id": "string",
      "created_at": "string",
      "updated_at": "string",
      "weight": 0,
      "extension_attributes": {
        "website_ids": [
          0
        ],
        "category_links": [
          {
            "category_id": "string",
            "position": 0,
            "extension_attributes": {}
          }
        ],
        "stock_item": {
          "qty": 0,
          "is_in_stock": false,
          "is_qty_decimal": false,
          "show_default_notification_message": false,
          "use_config_min_qty": false,
          "min_qty": 0,
          "use_config_min_sale_qty": 0,
          "min_sale_qty": 0,
          "use_config_max_sale_qty": false,
          "max_sale_qty": 0,
          "use_config_backorders": false,
          "backorders": 0
        },
        "discounts": [
          {
            "discount_data": {
              "amount": null,
              "base_amount": null,
              "original_amount": null,
              "base_original_amount": null
            },
            "rule_label": "string",
            "rule_i_d": 0
          }
        ],
        "bundle_product_options": [
          {
            "option_id": 0,
            "title": "string",
            "required": false,
            "type": "string",
            "position": 0,
            "sku": "string",
            "product_links": [
              null
            ],
            "extension_attributes": {}
          }
        ],
        "downloadable_product_links": [
          {
            "sort_order": 0,
            "is_shareable": 0,
            "price": 0,
            "link_type": "string",
            "sample_type": "string",
            "id": 0,
            "title": "string",
            "number_of_downloads": 0,
            "link_file": "string",
            "link_file_content": {
              "file_data": null,
              "name": null,
              "extension_attributes": null
            },
            "link_url": "string",
            "sample_file": "string"
          }
        ],
        "downloadable_product_samples": [
          {
            "title": "string",
            "sort_order": 0,
            "sample_type": "string",
            "id": 0,
            "sample_file": "string",
            "sample_file_content": {
              "file_data": null,
              "name": null,
              "extension_attributes": null
            },
            "sample_url": "string",
            "extension_attributes": {}
          }
        ],
        "giftcard_amounts": [
          {
            "attribute_id": 0,
            "website_id": 0,
            "value": 0,
            "website_value": 0,
            "extension_attributes": {}
          }
        ],
        "configurable_product_options": [
          {
            "id": 0,
            "attribute_id": "string",
            "label": "string",
            "position": 0,
            "is_use_default": false,
            "values": [
              null
            ],
            "extension_attributes": {},
            "product_id": 0
          }
        ],
        "configurable_product_links": [
          0
        ]
      }
    }
  ],
  "search_criteria": {
    "filter_groups": [
      {
        "filters": [
          {
            "field": "string",
            "value": "string",
            "condition_type": "string"
          }
        ]
      }
    ],
    "sort_orders": [
      {
        "field": "string",
        "direction": "string"
      }
    ],
    "page_size": 0,
    "current_page": 0
  },
  "total_count": 0
}

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

Get products — Adobe Commerce — Documentation