Search API

If you would like to fully customise search results, you may use our API and own javascript frontend. To call the API, make a GET request like:

https://search.omegacommerce.com/frontend/api/v1/query?ID=[YOUR-INSTANCE-ID]&q=[SEARCH-QUERY]

Query params:

  • ID - instance ID - contact our support team for this param.
  • q - query to search
  • p - number of page (optional)
  • limit - max number of returned items per index (optional)

For example, if you call https://search.omegacommerce.com/frontend/api/v1/query?ID=58d4e9ff71add8776d911887&q=workout&page=2&limit=3, you’ll receive an answer like:

{
    "products": [
        {
            "ext_id": 10783550787,
            "name": "Iris Workout Top",
            "description": "\u003cp\u003eThe Iris Workout Top is sleeveless, body fitting and moisture wicking for a fashionable, functional garment. Rouched textures add style.\u003c/p\u003e \u003cp\u003e• Pink heather rouched v-neck.\u003cbr\u003e• Scoop neckline.\u003cbr\u003e• Angled flat seams.\u003cbr\u003e• Moisture wicking.\u003cbr\u003e• Body skimming.\u003cbr\u003e• 83% Polyester / 11% TENCEL® Lyocell / 6% Lycra® Spandex.\u003c/p\u003e",
            "short_description": "",
            "url": "https://omega-search-demo.myshopify.com/products/iris-workout-top",
            "handle": "iris-workout-top",
            "image_url": "https://cdn.shopify.com/s/files/1/1444/2806/products/ws03-red_main.jpg?v=1502890845",
            "compare_at_price": 29,
            "price": 29,
            "is_in_stock": 0,
            "sku": "WS03-XS-Blue"
        },
        {
            "ext_id": 10783530051,
            "name": "Tristan Endurance Tank",
            "description": "\u003cp\u003ePush yourself through punishing runs, plyometric workouts, intense competition and more in our athletic Tristan Endurance Tank. Constructed with built-in moisture-wicking technology, it's designed to keep you completely cool and dry on the long haul.\u003c/p\u003e \u003cp\u003e• White performance tank.\u003cbr\u003e• Stylish contrast stitching. \u003cbr\u003e• Relaxed fit. \u003cbr\u003e• Ribbed crew neckline. \u003cbr\u003e• Machine wash/dry.\u003c/p\u003e",
            "short_description": "",
            "url": "https://omega-search-demo.myshopify.com/products/tristan-endurance-tank",
            "handle": "tristan-endurance-tank",
            "image_url": "https://cdn.shopify.com/s/files/1/1444/2806/products/mt02-white_main.jpg?v=1502890508",
            "compare_at_price": 29,
            "price": 29,
            "is_in_stock": 0,
            "sku": "MT02-XS-Gray"
        },
        {
            "ext_id": 10783543363,
            "name": "Riona Full Zip Jacket",
            "description": "\u003cp\u003eThe Riona Basic Zip Jacket makes the perfect extra layer for cold-weather workouts. It features amazing breathability and moisture management, but full-length zipper lets you moderate your core temperature even more.\u003c/p\u003e \u003cp\u003e• Brown heather full zip rouched jacket.\u003cbr\u003e• Side hand pockets for extra storage.\u003cbr\u003e• High collar.\u003cbr\u003e• Thick cuffs for extra coverage.\u003cbr\u003e• Durable, shape retention material to longer wear.\u003c/p\u003e",
            "short_description": "",
            "url": "https://omega-search-demo.myshopify.com/products/riona-full-zip-jacket",
            "handle": "riona-full-zip-jacket",
            "image_url": "https://cdn.shopify.com/s/files/1/1444/2806/products/wj05-brown_main.jpg?v=1502890695",
            "compare_at_price": 60,
            "price": 60,
            "is_in_stock": 0,
            "sku": "WJ05-XS-Brown"
        }
    ]
}