POST
/
portfolio
/
orders
/
{order_id}
/
decrease
Decrease Order
curl --request POST \
  --url https://api.elections.kalshi.com/trade-api/v2/portfolio/orders/{order_id}/decrease \
  --header 'Content-Type: application/json' \
  --data '{
  "reduce_by": 123,
  "reduce_to": 123
}'
{
  "order": {
    "action": "<string>",
    "client_order_id": "<string>",
    "created_time": "<any>",
    "expiration_time": "<any>",
    "fill_count": 123,
    "initial_count": 123,
    "last_update_time": "<any>",
    "maker_fees": 123,
    "maker_fill_cost": 123,
    "no_price": 123,
    "order_group_id": "<string>",
    "order_id": "<string>",
    "queue_position": 123,
    "remaining_count": 123,
    "self_trade_prevention_type": "<string>",
    "side": "<string>",
    "status": "<string>",
    "taker_fees": 123,
    "taker_fill_cost": 123,
    "ticker": "<string>",
    "type": "<string>",
    "user_id": "<string>",
    "yes_price": 123
  }
}

Path Parameters

order_id
string
required

Order ID

Body

application/json

Response

200 - application/json

The response is of type object.