Update API Data
{
rma_id
customer_id:
dealer_id:
status:
order_id:
po_number:
memo:
pdf:
items:{
{
product_id:
qty:
},
{
product_id:
qty:
}
}
Create API Data
{
customer_id:
dealer_id:
status:
order_id:
po_number:
memo:
pdf:
items:{
{
product_id:
qty:
},
{
product_id:
qty:
}
}
Two tables has bee created jj_rma and jj_rma_items.
Main table should contain the basic RMA informationa and the sub table contains the item informations such as item_id, qty, rma_id etc.