Skip to main content
PATCH
/
api
/
partners
/
v2.0
/
org
/
{org_id}
/
trading
/
dayahead
/
prices
Update Trading Dayahead Prices
curl --request PATCH \
  --url https://api.example.com/api/partners/v2.0/org/{org_id}/trading/dayahead/prices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {
    "price_zone": "AT",
    "timezone_override": "<string>"
  },
  "data": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "price": 123
    }
  ]
}
'
{
  "state": "success",
  "next_load_curve_calculation": "2023-11-07T05:31:56Z",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string<uuid>
required

The organization ID of the new user's organization

Body

application/json
metadata
RequestMetadata · object
required
data
RequestData · object[]
required

Response

OK

state
enum<string>
required

The state of the output

Available options:
success,
existing,
non_existing,
late,
empty
next_load_curve_calculation
string<date-time>
required
error
string | null
required