This method allows you to dynamically declare the ec.order.referer_id variable through the JavaScript code to set the order referer.
ec.order.referer_id
Code example:
ec.order = ec.order || {}; ec.order.referer_id = 'Amazon'
The field appears in exported order CSVs, invoices, email notifications, and REST API as refererId field.
refererId
Last updated 11 months ago
Was this helpful?