-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ApiUse with concrete module component label E.g. "Component: Api" + "Catalog"Use with concrete module component label E.g. "Component: Api" + "Catalog"Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
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
Component: ApiUse with concrete module component label E.g. "Component: Api" + "Catalog"Use with concrete module component label E.g. "Component: Api" + "Catalog"Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
Type
Projects
Status
Done