Develop > Controller layer > Integrate with back-end systems and external applications > Back-end integration legacy messages
Product Quantity Update message
The Product Quantity Update message is an inbound message that contains inventory information for a product. 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.
The Product Quantity Update message uses the WebSphere Commerce message format and consists of a set of records, which follow each other sequentially in a data buffer. The following data describes the Product Quantity Update message:
<ECEDOC> <PROLOG>PRODUCT_QUANTITY_UPDATE_PROLOG_DATA</PROLOG> <HEADER> <HDR010>PRODUCT_QUANTITY_UPDATE_HDR010_DATA</HDR010> </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 Product Quantity Update
- PRODUCT_QUANTITY_UPDATE_PROLOG_DATA Specifies the type of message the application data defines. In this case, the message is Product Quantity Update.
- PRODUCT_QUANTITY_UPDATE_HDR010_DATA Specifies product information within the Product Quantity Update message.
- PRODUCT_QUANTITY_UPDATE_HDR010_DATA
The Product Quantity Update message includes the PRODUCT_QUANTITY_UPDATE_HDR010_DATA segment. This data segment includes product or item inventory information for the Product Quantity Update message.
- PRODUCT_QUANTITY_UPDATE_PROLOG_DATA
The Product Quantity Update message includes the PRODUCT_QUANTITY_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 Product Quantity Update message with a field value of PQ (Product Quantity).
Related reference
Back-end integration legacy messages