Price Parrot
API v1
Product details
This endpoint returns the details of the product where the SKU or ID matches {sku}.
Request URL
GEThttps://api.priceparrot.io/product/{sku}
Responses
200 Success404 Product not found
//A JSON object with product details.
{
"sku": "12345",
"name": "Test product",
"brand": "Price Parrot",
"tags": "price, parrot, test",
"costs": 1.23,
"smartprice": 1.2,
"instock": true,
"url": "/test-product-price-parrot"
}
Update product details
Update the details of the product where the SKU or ID matches {sku}.
Request URL
PUThttps://api.priceparrot.io/product/{sku}
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| product | json | Yes | The product settings as JSON object |
Responses
200 Success400 Missing or incorrect parameter
//Action completed succesfully.
Delete product
Delete the product and matches where the SKU or ID matches {sku}.
Request URL
DELETEhttps://api.priceparrot.io/product/{sku}
Responses
200 Success404 Product not found
//Action completed succesfully.