Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

delete an order (using REST API) only when order status =DRAFT

User_XGAL8Jun 22 2022

Hi,
I have enabled delete operation in rest resource file but I want to first check order status of an order and if it is DRAFT then only delete is allowed.

where I can add this condition? currently delete is working for all the order status

This post has been answered by Timo Hahn on Jun 22 2022
Jump to Answer
Comments
Post Details
Added on Jun 22 2022
7 comments
337 views