Changed on:
20 Nov 2023
This module creates customers in Fluent when an order is created in Adobe and before it is pushed to Fluent.
Key Features:
`retailer ID`
`username/email`
`retailers`
The customer extension listens for events emitted by the order module whenever an order is placed. This is a system event called
`fluent_order_push_before`
`username`
`username`
`1_jonh.doe@fluentcommerce.com`
The entry point of this module is the observer FluentConnector\Customer\Observer\SetFluentCustomerId class that listens for the event “fluent_order_push_before event”. This Observer uses two services;
`FluentConnector\Customer\Service\GetCustomer`
`FluentConnector\Customer\Service\CreateCustomer`
Failures running the customer flow above will also cause a failure to create order flow.
Name | Description | Parameters |
fluent_customer_create_payload_prepare_after | Allows customization of the customer payload used to on the next phase to build the mutation request to Fluent. | order of type OrderInterface |
request_data of type CustomerCreateDataInterface | ||
fluent_customer_create_prepare_query_fields | Allows customization of the fields passed to the createCustomer mutation. | field_list of type array |
fluent_customer_create_prepare_query_variables | Allows customization of the variables passed to the createCustomer mutation. | variables of type array |
request_data of type CustomerCreateDataInterface |
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.