0

API URL :

http://website.local.com/rest/V1/rma/rma/:100000008

Method : PUT Request :

{
"rma": {
    "status":"approved",
    "reply": "Your Package will be ",
    "rma_id": 8
}

}

When this API is called, I need to update "status" in table1 and "reply" in table2. Even I don't have column "Status", I will update that by status_id based on status lable passed here.

Can someone please help me how can I do this ?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.