younifyd
Menu

Retrieve by image (Deprecated)

Retrieve by image (Deprecated)

POST/v1/image_search

Use it in a workflow

  1. Add a step and choose the Constructor connector.
  2. Pick the Retrieve by image (Deprecated) action (under Image Search).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveByImageDeprecated.response.data}}.

Request

Query parameters

sectionstring

The section of the index to use.

Default "Products"

variations_mapstring (json)

A JSON string containing a instructions on how to map item variation data in the response (typically used for swatches). More details, including the exact schema for this value can be found [here](/reference/shared-variations-mapping)

fmt_optionsany

An object containing options to format different aspect of the response.

cstring

The ID of the client and version that the request is coming from, such as `cio-js-2.90`.

usarray<string>

A customer defined context (such as `vip-club-member`) used to evaluate redirect or refined tag rules. Pass multiple segments by passing multiple `us` arguments.

uistring

A customer generated anonymized identifier for a user on a customer website. It should only be sent for logged in customers and helps Constructor to tie multiple client and session IDs together to form a behavioral data profile across devices.

sinteger

An integer representing the users session number (starting with `1`), incremented after a 30 minute period of inactivity.

istring

A globally unique identifier for the user browser (or mobile application instance) making the request.

Response

Returns 200 with an object. Read it in later steps with {{retrieveByImageDeprecated.response.data.<field>}}.

requestobject

The request arguments how they were interpreted by the API. This field is of arbitrary type, ie it doesn't have a guaranteed schema, and data from it shouldn't be used programmatically, it is for debugging purposes only.

result_idstring

A unique identifier for this search request, used for analytics and behavioral tracking.

responseany
json
{
  "request": {},
  "response": null,
  "result_id": "string"
}

Need more? See the Constructor guide for connection setup and behaviour shared by every action.