Hello,
How can I (for example) get the information of order with the customer who is in relation to the order in API:
I want the response of API something like:
order: {
name: ‘ORDER-12’,
date: ‘2020-12-01’,
order_type: ‘sales’,
…
customer: {
name: ‘Ali’,
phone: ‘01215454xxxx’,
country: ‘Egypt’
email: ‘erp@domain.com’
}
}
Is any way to can response the API like this or I need to create custom API for me for this.
If I need to create custom API for me, how can I do this?
thanks