Develop > Controller layer > Integrate with back-end systems and external applications > Back-end integration legacy messages
Customer Update message
The Customer Update message is an inbound message that contains customer information for a customer. A back-end application generates this message and sends it to the WebSphere Commerce inbound message queue, where the WebSphere Commerce system receives the message. WebSphere Commerce updates information for a registered customer by calling the UserRegistrationUpdate command.
The Customer Update message uses the WebSphere Commerce message format and consists of a set of records, which follow each other sequentially in a buffer. The following data describes the Customer Update message:
<ECEDOC> <PROLOG>CUSTOMER_UPDATE_PROLOG_DATA</PROLOG> <HEADER> <HDR010>CUSTOMER_UPDATE_HDR010_DATA</HDR010> <USRLST> <DATUSR>DATUSR_DATA</DATUSR> . . DATUSR repeated loop . <DATUSR>DATUSR_DATA</DATUSR> </USRLST> </HEADER> </ECEDOC>
Notes:
- All records are in sequential order in the buffer. Indentation is used here for readability; it does not appear in the buffer.
- All fields in the data segments are left-justified and padded to the right with spaces in the buffer.
Data Segments for Customer Update
- CUSTOMER_UPDATE_PROLOG_DATA Specifies the type of message the application data defines. In this case, the message is Customer Update.
- CUSTOMER_UPDATE_HDR010_DATA Specifies customer information within the Customer Update message.
- DATUSR_DATA Specifies optional information to be added to the Customer Update message. DATUSR_DATA appears in the <HDR> section of this message.
- CUSTOMER_UPDATE_HDR010_DATA
The Customer Update message includes the CUSTOMER_UPDATE_HDR010_DATA segment. This data segment consists of customer information for registered customers for the Customer Update message.
- CUSTOMER_UPDATE_PROLOG_DATA
The Customer Update message includes the CUSTOMER_UPDATE_PROLOG_DATA segment. This data segment identifies the type of message that is being defined; that is, the segment indicates that the message is a Customer Update message with a field value of UC (Update Customer).
Related reference
Back-end integration legacy messages