Send additional order data
An order data extension is an array that enables you to specify whatever name/value pairs (attributes) you want. Order data extensions are optional and enable your organization to capture additional information with your orders.
The order data extension is linked to an order object that enables you to extend your own requirements and custom attributes onto the order object. You can insert one data extension within the array.
The following is a list of guidelines for using the order data extension:
-
Place the data extension data in the
extensions
array of objects. -
Only one data extension is supported per order type.
-
The
name
attribute must beext
. -
The
key
attribute must bedefault
. -
An order data extension has a maximum of 50 attributes.
The following is a list of guidelines for using attributes in the data extension:
-
The attribute name must be alphanumeric [A-Z,a-z,0-9] as per the JSON RFC 7159 specification.
-
You must write the attribute name of the data extension in camel case.
-
The attribute name must be unique within the entire order type.
-
We recommend making the attribute name meaningful.
-
If grouping is required, use common prefixes.