i need to create a custom attribute like:
{
"supplier_Name": "Mohammed irfan",
"customer_id": "Unique id",
"orders":[
{
"product_name": "Vacum cleaner",
"product_id": "Unique Id"
"price": 1000,
},
{
"product_name": "Handwash Liquid",
"product_id": "Unique Id"
"price": 10,
}
]
}
MY DOUBT IS THAT HOW CAN I CREATE THE ORDERS WITH CUSTOM DATA TYPES. KINDLY HELP ME ON THIS.