- 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_customer
Developing
POST
/api/xd/1.0/get_customer
Request
Body Params application/json
principle_code
stringĀ
required
<= 50 characters
tenant_code
stringĀ
optional
<= 50 characters
location_code
stringĀ
optional
<= 50 characters
start_date_time
stringĀ <date-time>
optional
end_date_time
stringĀ <date-time>
optional
page_number
integerĀ
required
Example
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"start_date_time": "2024-06-05T07:11:06.000Z",
"end_date_time": "2024-06-05T07:11:06.000Z",
"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_customer' \
--header 'Content-Type: application/json' \
--data-raw '{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"start_date_time": "2024-06-05T07:11:06.000Z",
"end_date_time": "2024-06-05T07:11:06.000Z",
"page_number": 0
}'
Responses
š¢200OK
application/json
Body
array of:
principle_code
stringĀ
optional
<= 50 characters
tenant_code
stringĀ
optional
<= 50 characters
location_code
stringĀ
optional
<= 50 characters
customer_code
stringĀ
optional
<= 50 characters
customer_name
stringĀ
optional
<= 100 characters
customer_name_a
stringĀ
optional
<= 100 characters
address_1
stringĀ
optional
<= 100 characters
address_2
stringĀ
optional
<= 100 characters
address_3
stringĀ
optional
<= 100 characters
address_4
stringĀ
optional
<= 100 characters
city
stringĀ
optional
<= 50 characters
state
stringĀ
optional
<= 50 characters
zip
stringĀ
optional
<= 50 characters
phone
stringĀ
optional
<= 50 characters
fax
stringĀ
optional
<= 50 characters
email
stringĀ
optional
<= 50 characters
contact_person
stringĀ
optional
<= 50 characters
notes
stringĀ
optional
<= 200 characters
category_code_1
stringĀ
optional
<= 50 characters
category_code_2
stringĀ
optional
<= 50 characters
category_code_3
stringĀ
optional
<= 50 characters
category_code_4
stringĀ
optional
<= 50 characters
category_code_5
stringĀ
optional
<= 50 characters
category_code_6
stringĀ
optional
<= 50 characters
category_code_7
stringĀ
optional
<= 50 characters
category_code_8
stringĀ
optional
<= 50 characters
category_code_9
stringĀ
optional
<= 50 characters
category_code_10
stringĀ
optional
<= 50 characters
hierarchy_code_1
stringĀ
optional
<= 50 characters
hierarchy_code_2
stringĀ
optional
<= 50 characters
hierarchy_code_3
stringĀ
optional
<= 50 characters
hierarchy_code_4
stringĀ
optional
<= 50 characters
hierarchy_code_5
stringĀ
optional
<= 50 characters
hierarchy_code
stringĀ
optional
<= 50 characters
message_key_2
stringĀ
optional
<= 50 characters
geo_code_x
numberĀ <float>
optional
geo_code_y
numberĀ <float>
optional
customer_status
integerĀ
optional
sales_mode
integerĀ
optional
payment_type
integerĀ
optional
customer_price_level
integerĀ
optional
customer_pricing_key
stringĀ
optional
<= 50 characters
street_code
stringĀ
optional
<= 50 characters
bill_to_customer
stringĀ
optional
<= 50 characters
office_account
integerĀ
optional
barcode_check_digit
stringĀ
optional
<= 100 characters
total_credit_limit
numberĀ <float>
optional
total_balance_due
numberĀ <float>
optional
is_taxable
integerĀ
optional
tax_id
stringĀ
optional
<= 50 characters
date_of_birth
stringĀ <date-time>
optional
default_priority
integerĀ
optional
id_number
stringĀ
optional
<= 50 characters
survey_key
stringĀ
optional
<= 100 characters
territory_hierarchy
stringĀ
optional
<= 50 characters
tin_number
stringĀ
optional
<= 50 characters
ean_number
stringĀ
optional
<= 50 characters
message_key_3
stringĀ
optional
<= 50 characters
outlet_image_url
stringĀ
optional
<= 200 characters
mobile
stringĀ
optional
<= 50 characters
country
stringĀ
optional
<= 50 characters
last_mile_delivery_vehicle_type
integerĀ
optional
last_modified_date_time
stringĀ <date-time>
optional
Example
[
{
"principle_code": "string",
"tenant_code": "string",
"location_code": "string",
"customer_code": "string",
"customer_name": "string",
"customer_name_a": "string",
"address_1": "string",
"address_2": "string",
"address_3": "string",
"address_4": "string",
"city": "string",
"state": "string",
"zip": "string",
"phone": "string",
"fax": "string",
"email": "string",
"contact_person": "string",
"notes": "string",
"category_code_1": "string",
"category_code_2": "string",
"category_code_3": "string",
"category_code_4": "string",
"category_code_5": "string",
"category_code_6": "string",
"category_code_7": "string",
"category_code_8": "string",
"category_code_9": "string",
"category_code_10": "string",
"hierarchy_code_1": "string",
"hierarchy_code_2": "string",
"hierarchy_code_3": "string",
"hierarchy_code_4": "string",
"hierarchy_code_5": "string",
"hierarchy_code": "string",
"message_key_2": "string",
"geo_code_x": 0,
"geo_code_y": 0,
"customer_status": 0,
"sales_mode": 0,
"payment_type": 0,
"customer_price_level": 0,
"customer_pricing_key": "string",
"street_code": "string",
"bill_to_customer": "string",
"office_account": 0,
"barcode_check_digit": "string",
"total_credit_limit": 0,
"total_balance_due": 0,
"is_taxable": 0,
"tax_id": "string",
"date_of_birth": "2024-06-05T07:11:06.023Z",
"default_priority": 0,
"id_number": "string",
"survey_key": "string",
"territory_hierarchy": "string",
"tin_number": "string",
"ean_number": "string",
"message_key_3": "string",
"outlet_image_url": "string",
"mobile": "string",
"country": "string",
"last_mile_delivery_vehicle_type": 0,
"last_modified_date_time": "2024-06-05T07:11:06.023Z"
}
]
Modified atĀ 2024-06-05 10:09:09