Visually Similar

Used to return the list of items that have similar images with a product. This tactic is based on the images compare program.

Visually Similar Request (by product identifier)

GET /1.0/ClientRecom/{websiteId}/OnlyVisuallySimilar?productRef={refId}

This endpoint will return a list of similar looking products when given a product identifier.

Path Parameters

Name
Type
Description

websiteId

string

Your website ID provided to you by PA

Query Parameters

Name
Type
Description

refId

string

This is the product identifier/ID

{
    "payload": ["1234", "5678", "9012"],
    "type": 1,
    "code": 0
}

Visually Similar Request (by style identifier)

GET /1.0/ClientRecom/{websiteId}/OnlyVisuallySimilar?productStyleId={styleId}

This endpoint will return a list of similar looking products when given a style identifier.

Path Parameters

Name
Type
Description

websiteId

string

Your website ID provided by PA

Query Parameters

Name
Type
Description

styleId

string

This is the style identifier. The style identifier is an ID that sits below the product ID but is not as granular as a variant level identifier/SKU.

{
    "payload": ["1234", "5678", "9012"],
    "type": 1,
    "code": 0
}

Last updated