Customer New message
The Customer New message is a legacy format 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 new customer by calling the UserRegistrationAdd controller command.
The following data describes the Customer New 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>
Note:
- 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 New
- CUSTOMER_NEW_PROLOG_DATA Specifies the type of message the application data defines. In this case, the message is Customer New.
- CUSTOMER_NEW_HDR010_DATA Specifies customer information within the Customer New message.
- DATUSR_DATA Specifies optional information to be added to the Customer New message. DATUSR_DATA appears in the <HDR> section of this message.
- CUSTOMER_NEW_HDR010_DATA
The Customer New message includes the CUSTOMER_NEW_HDR010_DATA segment. This data segment consists of customer information for new customers for the Customer New message.- CUSTOMER_NEW_PROLOG_DATA
The Customer New message includes the CUSTOMER_NEW_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 NC (New Customer).- DATUSR_DATA for inbound messages
The inbound messages Order Status Update, Customer New, and Customer Update, include the DATUSR_DATA data segment. Include the DATUSR records in these messages to receive additional data. We can customize the fields to pass extra data that is not included in the messages. DATUSR_DATA can be repeated multiple times.
Related reference
Back-end integration legacy messages