Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Data Types and Supported Operators

Data Types and Supported Operators

Every field and attribute has a data type. The data type determines what kind of data the field or attribute can contain. The following table shows the data types and the operators supported for each one:

Data type

Supported operators

Notes

Examples

DateTime

=, !=, <, =<, >, >=

The DateTime format is YYYY-MM-DDThh:mm:ss.

'2008-08-30T17:19:00' '2009-12-21T07:06:00'

Double

=, !=, <, =<, >, >=

The decimal point is optional.

100.00 20199

Integer

=, !=, <, =<, >, >=

1

String

=, !=

Strings must be surrounded by single quotes ('). If a string contains a single quote, it must be preceded by a backslash.

'StringValue' 'Canon - Kit d\'accessoires pour appareil photo'