You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a way to delete all rows in Transaction Array via REST API

Accepted answer
77
Views
1
Comments
edited May 12, 2023 5:09AM in Configure Price Quote 1 comment

Summary:

We have requirement to delete existing records in a commerce array, before new records are added - this is to be done via integration using REST APIs.

Content (required):

Save Transaction REST API (/rest/v14/commerceDocumentsOraclecpqoTransaction/{id}/actions/cleanSave_t) mentions an optional parameter

deleteRows(optional): array

This works if we want to remove selected row IDs of the array. We are working on a way to delete all records in the mentioned array. Please let us know if that is possible currently.

Currently we have achieved this by setting array size attribute to 0 in the payload. We were wondering if there is a way to do this via the deleteRows parameter.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!