My Oracle Support Banner

How to Reserve And Release Inventory Through UpdateOrder API (Doc ID 2535849.1)

Last updated on OCTOBER 28, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

While running tests on a Webcheckout integration,  I need to update the order based on a notification but the inventory never changed.

The details that I used are the following:

Order ID: o120085
SKU: XX45-DCOLLLK
Payload: {
  "state": "SUBMITTED",
  "paymentGroups": [{
  "state": "SETTLED",
  "id": "pg100059"
  }],
  "shippingGroups": [{
  "state": "INITIAL",
  "id": "sg130108"
  }]
}

- do I need to include something else in the payload in order to reserve the inventory?
- if the payment fails (webcheckout notification), I need to release the stock. how can I do that?

 

Solution

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
Goal
Solution
References


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