listStockStatusForLargeCart

post

/ccstore/v1/stockStatus

Gets the stock status of the list of products for large cart

Request

Supported Media Types
Body ()
Root Schema : listStockStatusForLargeCart_request
Type: object
Show Source
Example:
{
    "catalogId":"cloudLakeCatalog",
    "products":"camera_1:camerasku_1_5,Product_27Fxyzi"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listStockStatusForLargeCart_response
Type: object
Show Source
Nested Schema : items
Type: array
List of products along with stock statuses and orderable quantities
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "catalogId":"cloudLakeCatalog",
        "productId":"camera_1",
        "preOrderableQuantity":0,
        "locationId":null,
        "orderableQuantity":5,
        "stockStatus":"IN_STOCK",
        "availabilityDate":null,
        "backOrderableQuantity":0,
        "catRefId":"camerasku_1_5",
        "inStockQuantity":5
    },
    {
        "Sku_27Gxyzi":"IN_STOCK",
        "productSkuInventoryStatus":{
            "Sku_27Gxyzi":3
        },
        "locationId":null,
        "stockStatus":"IN_STOCK",
        "productSkuInventoryDetails":[
            {
                "productId":"Product_27Fxyzii",
                "availabilityDate":null,
                "catRefId":"Sku_27Gxyzi"
            }
        ]
    }
]

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| |------------------|------------------| |20030|If some internal error|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top