Change Curve order

Changed on

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.

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

Path parameters

orderIdstring required

Id of curve order

Request body

commentstring

Free text to label an order. Max 255 characters long.

Response

200

OR

Example response

{
  "orderId": "00000000-0000-0000-0000-000000000000",
  "areaCode": "NL",
  "portfolio": "TA_AUCTION_NL1_CWE",
  "companyName": "Test Company",
  "auctionId": "XXX_H_DA_1-20200122",
  "modifier": "auction@demo.com",
  "modified": "2020-11-05T07:18:32.450Z",
  "currencyCode": "EUR",
  "state": "Accepted",
  "comment": "Initial curve order",
  "curves": [
    {
      "contractId": "CWE_H_DA_1-20200123-01",
      "curvePoints": [
        {
          "price": -500,
          "volume": 100
        }
      ]
    }
  ]
}

Changes