Send additional order items data
An order items data extension is an array that enables you to specify whatever name/value pairs (attributes) you want. Order items data extensions are optional and enable your organization to capture additional information with your order items.
The order items data extension collection is linked to an orderItems object, enabling you to extend your own requirements and custom attributes onto the order items object. You can insert one order items data extension within the array.
The following is a list of guidelines for using the order items data extension:
-
Place the data extension data in the
extensionsarray of objects. -
Only one data extension is supported per order item type.
-
The
nameattribute must beext. -
The
keyattribute must bedefault. -
An order items 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 item type.
-
We recommend making the attribute name meaningful.
-
If grouping is required, use common prefixes.