The catalog price rule is working in frontend. But when we get the product from REST API, we are getting the original price only.
Example:
Product price is 34, we were created catalog rule with 10% for all products, in frontend we are getting both prices 30.26 and 34. But from api, we are getting only 34.
Please help.
API EndPoint:
Partial Response:
{
"id": 1,
"sku": "24-MB01",
"name": "Joust Duffle Bag",
"attribute_set_id": 15,
"price": 34,
"status": 1,
"visibility": 4,
"type_id": "simple",
"created_at": "2017-01-10 07:50:47",
"updated_at": "2017-01-10 07:50:47",
"extension_attributes": [],
"product_links": [],
"options": [],
}
Best Answer
Special Price is a custom attributes so you will get its details response in Custom Attributes section.
So follow below steps :