Collect and retrieve the list of product render info
Collect and retrieve the list of product render info. This info contains raw prices and formatted prices, product name, stock status, store_id, etc.
Query parameters
-
Field
-
Value
-
Condition type
-
Sorting field.
-
Sorting direction.
-
searchCriteria[pageSize] integer
Page size.
-
searchCriteria[currentPage] integer
Current page.
GET /V1/products-render-info
curl \
-X GET https://magento2.winkelstraat.mac/rest/all/V1/products-render-info?storeId=42¤cyCode=string
Response examples (200)
{
"items": [
{
"add_to_cart_button": {
"post_data": "string",
"url": "string",
"required_options": true,
"extension_attributes": {}
},
"add_to_compare_button": {
"post_data": "string",
"url": "string",
"required_options": true,
"extension_attributes": {}
},
"price_info": {
"final_price": 42.0,
"max_price": 42.0,
"max_regular_price": 42.0,
"minimal_regular_price": 42.0,
"special_price": 42.0,
"minimal_price": 42.0,
"regular_price": 42.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": "string",
"tax_amount": "string",
"tax_amount_incl_tax": "string",
"amount_excl_tax": "string",
"attribute_code": "string",
"extension_attributes": {}
}
],
"weee_adjustment": "string"
}
},
"images": [
{
"url": "string",
"code": "string",
"height": 42.0,
"width": 42.0,
"label": "string",
"resized_width": 42.0,
"resized_height": 42.0,
"extension_attributes": {}
}
],
"url": "string",
"id": 42,
"name": "string",
"type": "string",
"is_salable": "string",
"store_id": 42,
"currency_code": "string",
"extension_attributes": {
"wishlist_button": {
"post_data": "string",
"url": "string",
"required_options": true,
"extension_attributes": {}
},
"review_html": "string"
}
}
]
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}