Using our REST API For Getting Looks

To access data about product looks created via Shop The Look, you can use our REST API. This interface provides a structured method for retrieving detailed information about the product looks.


API Access

Our API uses bearer token for authentication.

You'll need to request an API token from our support chat or via an email to contact@shopthelookapp.com


Endpoint

GET https://shopify.shopthelook.app/api/v1/shop/product-look?mainProductId=shopifyProductId


The mainProductId argument is the Shopify ID for main product of the look created with Shop The Look.

shopifyProductId: use the product id from Shopify in this format: 343380066339

Sample Request: Response:


curl --location --request GET 'https://shopify.shopthelook.app/api/v1/shop/product-look?mainProductId=343380066339' --header 'Authorization: Bearer YOUR_API_TOKEN_HERE'

{
    "items": [
        {
            "id": 343380066339,
            "title": "Business Jacket",
             "image": "https://cdn.shopify.com/s/files/1/2502/6434/products/2015-02-15_Addis_Look_13_30276_4258_390x.jpg?v=1509367383",
            "variants": [
                {
                    "id": "gid://shopify/ProductVariant/4516638392355",
                    "title": "48 / Cool Grey",
                    "price": "677.60",
                    "formattedPrice": "$677.60"
                },
                {
                    "id": "gid://shopify/ProductVariant/4516638425123",
                    "title": "50 / Cool Grey",
                    "price": "677.60",
                    "formattedPrice": "$677.60"
                },
                {
                    "id": "gid://shopify/ProductVariant/4516638457891",
                    "title": "52 / Cool Grey",
                    "price": "677.60",
                    "formattedPrice": "$677.60"
                },
                {
                    "id": "gid://shopify/ProductVariant/4516638490659",
                    "title": "54 / Cool Grey",
                    "price": "677.60",
                    "formattedPrice": "$677.60"
                }
            ]
        }
    ]
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.