For developers / Api documentation / Methods /

Update Stores Products

Back

Endpoint

PUT https://api.repricer.online/v1/stores/{store_id}/products/batch

Headers

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

Params

Name Type Description
sku string SKU (required)
price_min string Min Price (optional)
price_max float Max Price (optional)
price_max float Max Price (optional)
strategy_id integer Strategy ID (optional)
is_active boolean Turns repricing off or on for this product (optional)

Request example

PUT /api/v1/stores/1/products/batch HTTP/1.1
Host: api.repricer.online
Authorization: Token PUT YOUR TOKEN HERE
Content-Type: application/json
[
 {
     "sku": "XXXXXXXXX",
     "price_min": 34,
     "price_max": 66,
     "strategy_id": 1,
     "is_active": true
 },
 {
     "sku": "XXXXXXXX2",
     "price_min": 34,
     "price_max": 66,
 }
]

Response example

{
 "status": 200,
 "data": {
     "errors": []
 }
}