Loading

How to send POS Product Form attributes (formAttributes) to a Salesforce Order Management order

Fecha de publicación: Oct 13, 2026
Descripción

A merchant uses a Product Form in Salesforce POS to collect extra product attributes, such as instalment or delivery details, at the point of sale. These values appear at the line-item level of the POS order JSON as formAttributes, an array of key/value pairs. For example:

"formAttributes": [ { "key": "ps_instalment", "value": "12 months" } ]

The values don't show up on the corresponding order in Salesforce Order Management. The merchant wants to know which field to map in the OMS mapping configuration so the Product Form attributes reach Salesforce Order Management.

Solución

Product Form attributes are supported in the Salesforce Order Management integration. They are sent only when the field is mapped explicitly.

1. Confirm that the form data is in the order payload. Place a test POS order that uses the Product Form, then check that the line item in the order JSON contains formAttributes with the values you expect. If formAttributes is missing or empty, check the Save Location (key path) of the Product Form in the CMS layout.
2. In Salesforce Order Management, create a custom field on the order line-item object (for example, a long text area field on OrderItemSummary) to hold the form data.
3. In the POS OMS mapping configuration (SFOMS custom field mapping), map the POS field PRODUCT_CUSTOMSKU to the custom line-item field you created in step 2.
4. Make sure the mapped value is sent as a JSON array, for example [{"key":"...","value":"..."}], and not as a plain or delimited string. If the value arrives as a string, it can't be parsed, and the field is left empty on the Order Management order without an error.
5. Place a new POS order that uses the Product Form. Then open the order in Salesforce Order Management and confirm that the custom line-item field is filled in.

Número del artículo de conocimiento

005461706

 
Cargando
Salesforce Help | Article