pfx-api:customers
Trigger a customer Datamart load. This instructs Pricefx to reload customer master data into the Datamart.
URI Format
pfx-api:customers?param1=value1¶m2=value2
Parameters
|
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
incrementalDate |
String |
-- |
Incremental date for the customer Datamart load. If provided, only data changed since this date is loaded |
XML Route Examples
Full customer Datamart load
<route>
<from uri="direct:loadCustomers"/>
<to uri="pfx-api:customers"/>
</route>
Incremental customer Datamart load
<route>
<from uri="direct:loadCustomersIncremental"/>
<to uri="pfx-api:customers?incrementalDate=2026-01-01"/>
</route>
Customer load as part of a larger pipeline
<route>
<from uri="direct:fullDatamartPipeline"/>
<to uri="pfx-api:loaddata?objectType=C&mapper=customerMapper&businessKeys=customerId"/>
<to uri="pfx-api:customers"/>
<to uri="pfx-api:refresh?targetName=MyDatamart"/>
</route>
Common Pitfalls
-
No objectType needed: Unlike most pfx-api methods,
customersdoes not require theobjectTypeparameter. The object type is implicitly Customer (C). -
incrementalDate format: The date must be provided as a string recognized by Pricefx (e.g.
2026-01-01). If omitted, a full load is performed. -
Order of operations: In a typical Datamart pipeline, customer data should be loaded into Pricefx first (via
loaddata), then trigger the customer Datamart load (viacustomers), and finally refresh the Datamart (viarefresh). -
Long-running operation: Customer Datamart loads can be time-consuming on large datasets. Plan your route timeouts accordingly.