Price Parrot API v1
List all product matches This endpoint returns the details of all competitor products matching the product with sku or ID {sku}.
Request URL
GEThttps://api.priceparrot.io/productmatch/{sku}

Responses
200 Success404 Product not found
//Returns a list of product matches and a summary of the pricing information.

{
    "sku": "12345",
    "smartprice": 3.49,
    "minprice": 2.04,
    "averageprice": 4.67,
    "maxprice": 8.95,
    "match_count": 3,
    "matches": [
        {
            "productid": "12345",
            "sku": "store-12345",
            "name": "Competitor product",
            "brand": "Samsung",
            "mpn": "EA-2019",
            "price": 1.23,
            "currency": "EUR",
            "instock": true,
            "url": "https://your-competitor/test-product",
            "image": "https://api.priceparrot.io/image",
            "last_check": "2020-03-20 13:29:31",
            "old_price_change": "2020-03-14 11:34:12",
            "old_price": "754.75",
            "old_stock_change": "2020-03-12 23:04:47"
        }
    ]
}
Add product match Add a competitor URL to a product with SKU or ID {sku}.
Request URL
PUThttps://api.priceparrot.io/productmatch/{sku}

Request body
FieldTypeRequiredDescription
url string Yes The URL of the product page displaying the product on the competitors website.

Responses
200 Success400 Missing or incorrect parameter 404 Product not found
//Action completed succesfully.
Delete product match Delete an existing competitor URL from your product with SKU or ID {sku}.
Request URL
DELETEhttps://api.priceparrot.io/productmatch/{sku}

Request body
FieldTypeRequiredDescription
url string Yes The URL of the product page displaying the product on the competitors website.

Responses
200 Success404 Product not found
//Action completed succesfully.