deleteInventory

delete

/ccadmin/v1/inventories/{id}

Delete Inventory. Delete inventory information based on ID.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
ID of the variant.
Query Parameters
locationId
Type: string
ID of the location for which the inventory information is being deleted.
type
Type: string
Inventory type, either variant or product. defaults to variant.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Default Response
The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |25133|Location is invalid|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object