- LIGHTHOUSE Rest API Walkthrough
- Lighthouse APIs
- Authentication
- TransactionStatus
- xcAssetDetail
- Shopping Cart
- xcAuthorizedProduct
- xcCFAMapping
- xcCFAMaster
- xcCFAStock
- xcDistributorDetail
- xcGetPromotionDetail
- xcHSNMaster
- xcJourneyPlan
- xcSubDistributorMargin
- xcOrganizationHierarchy
- xcGetOrganizationHierarchy
- xcOutlet
- xcOutletPriceMapping
- xcPricingControl
- xcPricingPlan
- xcProduct
- xcRouteDetail
- xcTerritoryHierarchy
- xcUserList
- xdARCollection
- xdAROpenItems
- xdCreditDebitNote
- xdCreditDetails
- xdDMSARCollection
- xdEmptieDispatchAdvice
- xdGetPurchaseOrder
- xdGRNDetails
- xdLocationCreditDetails
- xdOpenItems
- xdPendingInvoice
- xdPoFillRate
- xdPOStatus
- xdProduct
- xdPromotion
- xdPurchaseInvoice
- xdSalesInvoice
- xdSalesOrder
- xdSalesOrderStatusUpdate
- xdSalesReturn
- xdStockTransfer
- xdWarehouseStock
- xdInterDTStockIn
- xdInterDTStockOut
- xdGetPOShoppingCart
- xdReturnOrder
- xdDMSStockAdjustment
- xcDistributorPriceMapping
- xdLocationDetails
- xdBeatDetails
- xdVehicleDetails
- xdHHTMaster
- xdPricingPlan
- xdPrimaryPrice
- xdAuthorizedProduct
- xdWarehouseInventory
- xdCustomerMaster
- xdPromotionDefinition
- xdJourneyPlan
- xdRouteSetupV2
- xdCustomerTarget
- xdRouteTarget
- xdSalesInvoice
- xdSchemeAchievement
- xdVanLoad
- xdVanStock
- xdOrderHistoryV1
- xnBeatMaster
- xdSupervisorDetails
- xnRouteSetup
- xdVisitSummaryList
- xdGetNewCustomerRequest
- xdCustomerInventory
- xdGetUploadSyncKeys
- xdGetLoadRequest
- xdGetCustomerGeoCode
- xdDMSVanOffLoad
- xdGetRetailerContactInfo
- xdRouteSetupV2
- xdGetSalesman
- xdCustomer
- xdSetLoadRequest
- xdLoadOut
- xdLoadOutStatus
- xcPromotion
- xcProductHierarchy
- xdIQData
- xdSetReturnHistoryV1
- xdSetDNPlanInfo
- xnJourneyPlanTemplate
- xdGetBeatMaster
- xcGetListSchemes
- xcGetSchemeIsDuplicate
- xcUpdateShortClosure
- xcCreateScheme
- xcGetListBundleSchemes
- xdPODURL
- xdGetPromoAccrualDetails
- xcExclusionList
- xdProductMaster
- TerritoryRoute
- TerritoryRoute Copy
/api/xd/1.0/get_warehouse_stock
POST
/api/xd/1.0/get_warehouse_stock
xdWarehouseStock
Request
Body Params application/json
principle_code
stringĀ Ā |Ā nullĀ
optional
tenant_code
stringĀ Ā |Ā nullĀ
optional
start_date
stringĀ <date-time>
optional
end_date
stringĀ <date-time>
optional
page_number
integerĀ <int32>
optional
Example
{
"principle_code": "string",
"tenant_code": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"page_number": 0
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://testapi.com/api/xd/1.0/get_warehouse_stock' \
--header 'Content-Type: application/json' \
--data-raw '{
"principle_code": "string",
"tenant_code": "string",
"start_date": "2019-08-24T14:15:22Z",
"end_date": "2019-08-24T14:15:22Z",
"page_number": 0
}'
Responses
š¢200Success
application/json
Body
array of:
principle_code
stringĀ
optional
<= 20 characters
territory_hierarchy
stringĀ
optional
<= 20 characters
tenant_code
stringĀ
optional
<= 12 characters
location_code
stringĀ
optional
<= 12 characters
item_code
stringĀ
optional
<= 18 characters
hierarchy_code
stringĀ
optional
<= 20 characters
mrp
numberĀ <float>
optional
stock_quantity
numberĀ <float>
optional
stock_quantity1
numberĀ <float>
optional
quantity_blocked
numberĀ <float>
optional
quantity_blocked1
numberĀ <float>
optional
quantity_in_transit
numberĀ <float>
optional
quantity_in_transit1
numberĀ <float>
optional
sales_quantity
numberĀ <float>
optional
last_inventory_count_date
stringĀ <date-time>
optional
last_modified_date_time
stringĀ <date-time>
optional
conversion_1
numberĀ <float>
optional
Example
[
{
"principle_code": "string",
"territory_hierarchy": "string",
"tenant_code": "string",
"location_code": "string",
"item_code": "string",
"hierarchy_code": "string",
"mrp": 0,
"stock_quantity": 0,
"stock_quantity1": 0,
"quantity_blocked": 0,
"quantity_blocked1": 0,
"quantity_in_transit": 0,
"quantity_in_transit1": 0,
"sales_quantity": 0,
"last_inventory_count_date": "2024-04-22T07:00:35.352Z",
"last_modified_date_time": "2024-04-22T07:00:35.352Z",
"conversion_1": 0
}
]
Modified atĀ 2024-04-22 07:06:11