Closed
Description
Description
Bundle products have a price in the store and admin interface, but not in the Products Details REST API.
Preconditions
- Magento 2.3.3
Steps to reproduce
-
Enable 'Allow Anonymous Guest Access' from Store -> Configuration -> Services -> Magento Web API
-
GET /rest/V1/products/{sku} to get a details of bundle product.
Expected result
- Children products must have price in response
Actual result
- Price is 'null' of children products.
{
"id": 1203,
"sku": "Bundle Product",
"name": "Bundle Product",
"attribute_set_id": 4,
"price": 0,
"status": 1,
"visibility": 4,
"type_id": "bundle",
"created_at": "2020-05-27 11:02:38",
"updated_at": "2020-05-27 11:02:38",
"weight": 0,
"extension_attributes": {
"website_ids": [
1
],
"bundle_product_options": [
{
"option_id": 1,
"title": "option 1",
"required": true,
"type": "select",
"position": 1,
"sku": "Bundle Product",
"product_links": [
{
"id": "1",
"sku": "product_dynamic_3",
"option_id": 1,
"qty": 1,
"position": 1,
"is_default": false,
"price": null, // Price is null
"price_type": null,
"can_change_quantity": 0
},
{
"id": "2",
"sku": "product_dynamic_4",
"option_id": 1,
"qty": 1,
"position": 2,
"is_default": false,
"price": null, // Price is null
"price_type": null,
"can_change_quantity": 0
}
]
}
]
},
"product_links": [],
"options": [],
"media_gallery_entries": [],
"tier_prices": [],
....
}
- Severity: S0
Metadata
Metadata
Assignees
Labels
Use with concrete module component label E.g. "Component: Api" + "Catalog"The issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchMajor restrictions or short-term circumventions are required until a fix is available.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Done