My Oracle Support Banner

How To Delete/Cancel A Sales Order Line Using API (Doc ID 2530643.1)

Last updated on NOVEMBER 06, 2020

Applies to:

Oracle Warehouse Management Enterprise Edition Cloud Service - Version 18 and later
Information in this document applies to any platform.


On : 18C version, Input and Output Interfaces

How to delete/Cancel a sales order line using API

We have a partly allocated sales order with three lines, one of the line is allocated and shipped. Two other lines are not yet allocated and we have a requirement to delete/cancel these two lines programmatically. To achieve this, I have tried to invoke the "api/init_stage_interface/" API in Delete mode. But it has failed to delete/cancel the line.

Could you please let us know

1> If it is possible to delete/cancel the line using any API?
2> If yes, could you please provide us the API name and sample payload?

Attaching the order details and API payload used to cancel line no 2 in the order.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.