---
title: "Change Curve order"
method: PATCH
path: "/curveorders/{orderId}"
---

# Change Curve order

`PATCH /curveorders/{orderId}`

## Request

- Base URL: `https://auctions-api.test.nordpoolgroup.com/api/v1`
- URL: `https://auctions-api.test.nordpoolgroup.com/api/v1/curveorders/{orderId}`
- Auth: API key in header `Authorization`

With this request you can create a new version of a curve order by modifying single curve points. The array of curve points that are provided in payload will be active in the new version of the order. To cancel a curve order send empty curve array in payload.

## Path parameters

- `orderId` string, required

## Request body

- object
  - `comment` string: Free text to label an order. Max 255 characters long.
  - `curves` unknown[], required: Array of curve objects
    - unknown

## Response `200`

200

- union
  - object
    - `orderId` string
    - `areaCode` string
    - `portfolio` string
    - `companyName` string
    - `auctionId` string
    - `modifier` string
    - `modified` string
    - `currencyCode` string
    - `state` string
    - `comment` string
    - `curves` object[]
      - `contractId` string
      - `curvePoints` object[]
        - `price` integer
        - `volume` integer
  - object
    - `orderId` string
    - `areaCode` string
    - `portfolio` string
    - `companyName` string
    - `auctionId` string
    - `modifier` string
    - `modified` string
    - `currencyCode` string
    - `state` string
    - `comment` unknown
    - `curves` unknown[]
      - unknown

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `632113fbcecb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nordpoolgroup/apis/auction-member-test/changes/curveorders/:orderId/patch.md)

---

[API](https://skmtc.dev/nordpoolgroup/apis/auction-member-test.md) - [All operations](https://skmtc.dev/nordpoolgroup/apis/auction-member-test/llms.txt) - [OpenAPI document](https://skmtc.dev/nordpoolgroup/apis/auction-member-test/revisions/632113fbcecb?raw)
