Order IDs

An order ID is the unique identifier for the order and links together all of the items that were part of the same transaction. When an item has been returned or when an order has been cancelled, the order ID is the unique identifier for the original order, including the returned or cancelled items.

  • First order ID is the order ID for the first order that was made by a customer.

  • Latest order ID is the order ID for the most recent order that was made by a customer.

  • Second order ID is the order ID for the second order that was made by a customer.

Use in segments

You can access order ID attributes directly from the Segment Editor. To add these attributes to your segments, click Add criteria, select the Transaction Attributes Extended table (for First Order ID, Latest Order ID, and Second Order ID) or the Unified Transactions table (for Order ID), apply a condition, and then specify a value.

Available conditions

The following table lists the conditions that are available to order ID attributes.

Note

Order ID attributes have a String data type. All String data types share the same set of conditions. Recommended conditions for this attribute are identified with “  More useful” and conditions with more limited use cases are identified with “  Less useful”.

Condition

Description

contains

Returns customer records with values that match a string of characters.

does not contain

Returns customer records with values that do not match a string of characters.

ends with

Returns customer records with values that end with the specified characters.

is empty

Returns customer records that do not have a value in this field.

is exactly

Returns all customer records with values that match the specified characters.

is not empty

Returns customer records that have a value in this field.

is not exactly

Returns customer records that do not match the specified characters.

starts with

Returns customer records that start with the specified characters.