Click or drag to resize

IUCServiceOrderCheckAvailability 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
This Sample request can be used in SOAP UI application to send request to LS Commerce.

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

SOAP Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://lsretail.com/LSOmniService/EComm/2017/Service" xmlns:ns="http://lsretail.com/LSOmniService/Base/2017" xmlns:ns1="http://lsretail.com/LSOmniService/Loy/2017">
 <soapenv:Header/>
  <soapenv:Body>
     <ser:OrderCheckAvailability>
        <ser:request>
           <ns1:CardId>10021</ns1:CardId>
           <ns1:Items>
              <ns1:OneListItem>
                 <ns1:ItemId>40020</ns1:ItemId>
                 <ns1:Quantity>2</ns1:Quantity>
                 <ns1:VariantId>002</ns1:VariantId>
              </ns1:OneListItem>
           </ns1:Items>
           <ns1:ListType>Basket</ns1:ListType>
           <ns1:StoreId>S0001</ns1:StoreId>
        </ser:request>
        <ser:shippingOrder>true</ser:shippingOrder>
     </ser:OrderCheckAvailability>
  </soapenv:Body>
</soapenv:Envelope>
See Also