Skip to main content
GET
/
partner
/
v1
/
orders
/
{contractNumber}
Get the order by its contract number
curl --request GET \
  --url https://api.rabot-charge.de/partner/v1/orders/{contractNumber} \
  --header 'Authorization: Bearer <token>'
{
  "isSuccess": true,
  "message": null,
  "error": [
    {
      "severity": "Error",
      "code": "validation-failed",
      "message": "First name is required for non-business customers.",
      "details": null
    }
  ],
  "refUri": "<string>",
  "data": {
    "order": {
      "customerNumber": "123456789",
      "emailAddress": "[email protected]",
      "tariffName": "rabot.smart",
      "contractNumber": "987654321",
      "firstName": "Max",
      "lastName": "Mustermann",
      "businessName": null,
      "meterNumber": "12LN6786454",
      "meLoIdentifier": "DE12345678901234567890",
      "maLoIdentifier": "99987999749",
      "deliveryAddress": {
        "title": "Dr.",
        "firstName": "Thomas",
        "lastName": "Mustermann",
        "businessName": null,
        "gender": "Male",
        "extension": null,
        "streetName": "Grüner Weg",
        "houseNumber": "42",
        "city": "Berlin",
        "postCode": "14109",
        "countryCode": "DE"
      },
      "state": "Delivery",
      "processingInfo": "Exported to MaKo provider",
      "denialReason": "Other",
      "deliveryState": {
        "startDate": "2024-02-01",
        "endDate": null,
        "state": "InChangeProcess",
        "message": null,
        "denialReason": null,
        "cancellationReason": null
      },
      "actualDateOfDelivery": "2025-04-01",
      "endDateOfDelivery": null,
      "contractSignatureDate": "2025-02-23 14:24:15",
      "contractSignedAt": "2025-02-23 14:24:15",
      "estimatedYearlyConsumption": 3500,
      "previousYearConsumption": 4200
    }
  }
}
If you know the contract number of a particular order, you can use this endpoint to retrieve the order details. This can be useful to follow the order processing and track status changes. See order states for an explanation about the different order states.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contractNumber
string
required

The unique identifier of the contract

Response

200 - application/json

OK

API response DTO with data.

isSuccess
boolean

Success status of the operation based on status code (2xx range).

Example:

true

message
string | null

Optional message to provide additional information about the operation result.

Example:

null

error
object[] | null

Optional error details in case of an error(s).

refUri
string<uri> | null

Optional reference URI to point to the resulting resource.

data
object

Returned data instance.