younifyd
Menu

Get products-render-info

Get products-render-info

GET/V1/products-render-info

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get products-render-info action (under Products).
  3. Fill in the fields below, then reference the result from later steps as {{getProductsRenderInfo.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.

storeIdintegerrequired
currencyCodestringrequired

Response

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

itemsarray<object>

List of products rendered information

add_to_cart_buttonobjectrequired4 fields

Button interface. This interface represents all manner of product buttons: add to cart, add to compare, etc... The buttons describes by this interface should have interaction with backend

add_to_compare_buttonobjectrequired4 fields

Button interface. This interface represents all manner of product buttons: add to cart, add to compare, etc... The buttons describes by this interface should have interaction with backend

price_infoobjectrequired9 fields

Price interface.

imagesarray<object>required8 fields

Enough information, that needed to render image on front

urlstringrequired

Product url

idintegerrequired

Product identifier

namestringrequired

Product name

typestringrequired

Product type. Such as bundle, grouped, simple, etc...

is_salablestringrequired

Information about product saleability (In Stock)

store_idintegerrequired

Information about current store id or requested store id

currency_codestringrequired

Current or desired currency code to product

extension_attributesobjectrequired2 fields

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

json
{
  "items": [
    {
      "add_to_cart_button": {
        "post_data": "string",
        "url": "string",
        "required_options": false,
        "extension_attributes": {}
      },
      "add_to_compare_button": {
        "post_data": "string",
        "url": "string",
        "required_options": false,
        "extension_attributes": {}
      },
      "price_info": {
        "final_price": 0,
        "max_price": 0,
        "max_regular_price": 0,
        "minimal_regular_price": 0,
        "special_price": 0,
        "minimal_price": 0,
        "regular_price": 0,
        "formatted_prices": {
          "final_price": "string",
          "max_price": "string",
          "minimal_price": "string",
          "max_regular_price": "string",
          "minimal_regular_price": "string",
          "special_price": "string",
          "regular_price": "string",
          "extension_attributes": {}
        },
        "extension_attributes": {
          "msrp": {
            "msrp_price": "string",
            "is_applicable": "string",
            "is_shown_price_on_gesture": "string",
            "msrp_message": "string",
            "explanation_message": "string",
            "extension_attributes": {}
          },
          "tax_adjustments": {},
          "weee_attributes": [
            {
              "amount": null,
              "tax_amount": null,
              "tax_amount_incl_tax": null,
              "amount_excl_tax": null,
              "attribute_code": null,
              "extension_attributes": null
            }
          ],
          "weee_adjustment": "string"
        }
      },
      "images": [
        {
          "url": "string",
          "code": "string",
          "height": 0,
          "width": 0,
          "label": "string",
          "resized_width": 0,
          "resized_height": 0,
          "extension_attributes": {}
        }
      ],
      "url": "string",
      "id": 0,
      "name": "string",
      "type": "string",
      "is_salable": "string",
      "store_id": 0,
      "currency_code": "string",
      "extension_attributes": {
        "wishlist_button": {
          "post_data": "string",
          "url": "string",
          "required_options": false,
          "extension_attributes": {}
        },
        "review_html": "string"
      }
    }
  ]
}

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