EflClient
submitCustomerData
Submits customer company/person data for the given transaction.
submitCustomerData() sends customer data (company or person) to the EFL API for the current transaction.
It wraps CustomerApiClient::postCustomerDataForLon().
All methods on EflClient may throw:
ApiException– when the EFL API returns an error response.HttpException– when the HTTP transport fails.
Method signature
public function submitCustomerData(CustomerData $customerData, string $bearerToken): void
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
customerData | CustomerData | Yes | Complete customer data payload. |
bearerToken | string | Yes | Bearer token. |
Return value
- Type:
void– failures are reported via exceptions.