Like

Begins with

In the example below we will make a request to get all products where the SKU begins with SHOE_DECK.

curl -X GET https://api.moltin.com/v2/products?filter=like(sku,SHOE_DECK_*) \
     -H "Authorization: Bearer XXXX"

Contains

In the example below we will make a request to get all products where the SKU contains _DECK_.

curl -X GET https://api.moltin.com/v2/products?filter=like(sku,*_DECK_*) \
     -H "Authorization: Bearer XXXX"

Ends with

In the example below we will make a request to all all products where the SKU ends with _RED.

curl -X GET https://api.moltin.com/v2/products?filter=like(sku,*_RED) \
     -H "Authorization: Bearer XXXX"

Last updated