SAP Knowledge Base Article - Public

2859300 - How to Update the Quantity of a Sales Order with PATCH Operation in Postman


You don't know how to update the quantity of a sales order with PATCH operation in Postman, even though the sales order is in a consistent state.


SAP Business ByDesign


The sequence of steps to update the item schedule line in postman is as follows:

  1. GET Call to get objects ID of the item: https://<Tenant URL>/sap/byd/odata/cust/v1/YYY/SalesOrderCollection('XXX')/Item (where YYY is the name of the Custom OData Service and XXX is the Object ID)
  2. GET Call to get the object ID of the item schedule line: https://<Tenant URL>/sap/byd/odata/cust/v1/YYY/ItemCollection('XXX')/ItemScheduleLine
  3. PATCH Call to update the quantity: https://<Tenant URL>/sap/byd/odata/cust/v1/YYY/ItemScheduleLineCollection('XXX')
  4. Payload in the PATCH Call should include the ObjectID, quantity, unitCode. 


Custom OData Service, update operation, 204 error, 204 no content, , KBA , AP-SLO , Sales Order Processing , AP-RC-ODF-BYD , OData Framework and Console (ByD) , How To


SAP Business ByDesign all versions