Repricer

Update a strategy

Changes the fields of the body. The other fields keep their values.

patch/api/v1/sa/repricer/strategies/{id}

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/sa/repricer/strategies/{id}
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key

Path parameters

idinteger required

Request body

namestring

Strategy name.

descriptionstring nullable

Strategy description.

colorstring nullable

Hex color for UI badge.

action'follow_buybox' | 'follow_lowest' | 'follow_featured_offer' | 'adjust_price' nullable

Repricing action name.

is_defaultboolean

Set as team default strategy.

Example request

{
  "name": "Aggressive Buy Box",
  "description": "Beat the buy box by 1 cent",
  "color": "#FF5733",
  "action": "follow_buybox",
  "action_params": {
    "price_adjustment": -0.01,
    "price_adjustment_type": "amount",
    "reference": "fba",
    "respect_map": true,
    "when_winning": "follow_next",
    "when_unopposed": "hold"
  },
  "limits": {
    "min_price_mode": "target_roi",
    "target_roi": 10,
    "target_margin": 5,
    "min_price_markup": 2,
    "missing_cost_fallback": "none"
  }
}

Response

Strategy updated

Example response

{
  "data": {
    "id": 1,
    "team_id": 123,
    "name": "Aggressive Buy Box",
    "description": "Beat buy box by 1 cent",
    "color": "#FF5733",
    "action": "follow_buybox",
    "action_params": {
      "price_adjustment": -0.01,
      "price_adjustment_type": "amount",
      "reference": "fba",
      "respect_map": true,
      "when_winning": "follow_next",
      "when_unopposed": "hold"
    },
    "limits": {
      "min_price_mode": "target_roi",
      "target_roi": 10,
      "target_margin": 5,
      "min_price_markup": 2,
      "missing_cost_fallback": "none",
      "min_price": 5,
      "max_price": 100,
      "max_change_percent": 10
    },
    "rules": [
      {
        "name": "Amazon is selling",
        "condition": {
          "type": "amazon_selling",
          "value": true
        },
        "action": "hold",
        "action_params": {
          "price_adjustment": 5,
          "price_adjustment_type": "percent",
          "reference": "fba",
          "respect_map": true,
          "when_winning": "follow_next",
          "when_unopposed": "hold"
        }
      }
    ],
    "rules_count": 4,
    "product_count": 15,
    "created_by": 1,
    "updated_by": 1,
    "created_at": "2026-06-27T12:00:00Z",
    "updated_at": "2026-06-27T12:00:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.