StringFilter

📘

Important

The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.

Overview

Possible String filter operations. Valid value of more than one operator perform logical AND operation. Ex: { eq : "sample_id", isNull: false } will return the object which is not null AND value equals to "sample_id".

Arguments

ArgumentDescription
anyOf ([String])

Matches any element in given array.

The size should be greater than or equal to 0 and less than or equal to 32.

eq (String)

Is exactly the filter value.

The size should be greater than or equal to 0 and less than or equal to 256.

isNull (Boolean)

Is the value null.

neq (String)

Is anything except for the filter value.

The size should be greater than or equal to 0 and less than or equal to 256.

noneOf ([String])

Matches none of the elements in given array.

The size should be greater than or equal to 0 and less than or equal to 32.

regex (String)

Matches given regular expression.

The size should be greater than or equal to 0 and less than or equal to 256.