I have added door number custom attribute to sales order address table. But I'm not able to get the vale in Order REST API.
Please help me on this
I have added door number custom attribute to sales order address table. But I'm not able to get the vale in Order REST API.
Please help me on this
Hi @poornima_axio ,
For adding the custom attribute in the order Api. You need to create extension attributes and then set that custom attribute value in that.
Please refer below link:
https://www.atwix.com/magento-2/adding-custom-attribute-to-api-response-in-magento-2/
Hope it helps you.
Problem solved! Click kudos & Accept as Solution.
Hi @poornima_axio
Kindly refer below link to add custom attribute with rest api:
https://www.mageplaza.com/devdocs/how-get-value-custom-attribute-rest-api-magento-2.html
If issue resolve, please click on 'Kudos' & Accept as Solution!