Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
salesOrdersForOrderHub API - PATCH - adding order lines fails with 404 — Cloud Customer Connect
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

salesOrdersForOrderHub API - PATCH - adding order lines fails with 404

Accepted answer
18
Views
5
Comments
edited May 13, 2021 6:46PM in Integration 5 comments

Summary

salesOrdersForOrderHub API - PATCH - adding order lines fails with 404

Content

From Postman, we use a POST to the salesOrdersForOrderHub API, without lines in the JSON payload, in order to generate a draft sales order.  I am using simple auth with my Oracle Cloud ERP user credential.  This works fine.

I can then use a PATCH to update the sales order, for example updating the CustomerPONumber field; see below.  This also works fine.

PATCH

https://xxxxxxx.oraclecloud.com/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub/OPS:JOE_006

{

    "CustomerPONumber": "Hello Joe6c"
}

But when I try to use a PATCH command to add lines to that sales order, and I get a 404 error.  I also tried a PUT, and same 404 error.  See below.  Any ideas?  Is it something about inserting lines as opposed to updating header information?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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