Click or drag to resize

IUCJsonOrderCheckAvailability Method

Check the quantity available of items in order for certain store, Use with LS Nav 11.0 and later

Namespace: LSOmni.Service
Assembly: LSOmni.Service (in LSOmni.Service.dll) Version: Commerce Service for LS Central 2026.8.0
Syntax
C#
OrderAvailabilityResponse OrderCheckAvailability(
	OneList request,
	bool shippingOrder
)

Parameters

request  OneList
shippingOrder  Boolean
true if order is to be shipped, false if click and collect

Return Value

OrderAvailabilityResponse
Remarks
LS Central WS2: COQtyAvailabilityV2
Example
Sample request including minimum data needed to be able to process the request in LS Commerce

Check availability of a Basket (OneList) for a shipped order

REST Sample Request
{
    "request": {
        "CardId": "10021",
        "Items": [{
            "ItemId": "40020",
            "Quantity": 2,
            "VariantId": "002"
        }],
        "ListType": 0,
        "StoreId": "S0001"
    },
    "shippingOrder": true
}
See Also