For developers / Api documentation / Methods /

List Stores Products

Back

Endpoint

GET https://api.repricer.online/v1/stores/{store_id}/products?id={id}&store_id={store_id}&strategy_id={strategy_id}&sku={sku} &price={price}&price_min={price_min}&price_max={price_max}&qty={qty}&asin1={asin1} &is_active={is_active}&limit={limit}&page={page}&order_by={order_by}

Headers

Name Type Description
Authorization string Authorization token.
Content-Type string application/json

Params

Name Type Description
id integer Search by ID {{query_language_link}} (optional)
store_id integer Search by Store ID {{query_language_link}} (optional)
strategy_id integer Search by Strategy ID {{query_language_link}} (optional)
sku string Search by SKU {{query_language_link}} (optional)
price integer search by Price Limit {{query_language_link}} (optional)
price_min integer Search by Min Price {{query_language_link}} (optional)
price_max integer Search by Max Price {{query_language_link}} (optional)
qty integer Search by Quantity {{query_language_link}} (optional)
asin1 string Search by ASIN {{query_language_link}} (optional)
is_active integer Search by Is Active field. Set false if you want to display inactive products only or true for active products. {{query_language_link}} (optional)
is_listing_first integer Search by IsListingFirst. (optional)
limit integer Limit (optional, default "25")
page integer Page (optional, default "1")
order_by string Sorting (optional, default "id,desc")

Request example

GET https://api.repricer.online/v1/stores/1/products?sku=*BLACK*&limit=1 HTTP/1.1
Authorization: Bearer PUT YOUR TOKEN HERE
Content-Type: application/json

Return: Product[]

Response example

HTTP/1.1 200 OK
Content-Type: application/json
{
     "status": 200,
     "current_page": 1,
     "data": [
         {
             "id": 1,
             "strategy_id": null,
             "name": "Toy car BMW",
             "sku": "A-TOY-XXXXXXXXX",
             "price": 13.63,
             "price_min": 8.19,
             "price_max": 15,
             "qty": 358,
             "product_id": "BXXXXXXXXX",
             "asin1": "B00S0XXXXXXX",
             "sellers": 12,
             "place": 3,
             "is_buybox_winner": false,
             "is_active": true,
             "created_at": "2018-03-02 04:35:07 GMT+0000",
             "updated_at": "2018-03-02 04:39:58 GMT+0000"
         }
     ],
     "first_page_url": "https://api.repricer.online/v1/stores/1/items?page=1",
     "from": 1,
     "last_page": 1,
     "last_page_url": "https://api.repricer.online/v1/stores/1/items?page=1",
     "next_page_url": null,
     "path": "https://api.repricer.online/v1/stores/1/items",
     "per_page": 100,
     "prev_page_url": null,
     "to": 1,
     "total": 1
}