salesOrdersForOrderHub API - PATCH - adding order lines fails with 404
Summary
salesOrdersForOrderHub API - PATCH - adding order lines fails with 404Content
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?
Tagged:
1