Chargeprice API Documentation

POST /v1/partner_feedback

Send different kinds of partner feedback to the Chargeprice Team.

This API follows the https://jsonapi.org specification.

Headers

Authorization Group

WriteUserFeedback

Request

The following types of feedback can be sent:

All of these types have the following generic and required attributes.

Attributes per type

All of them are of type string and are mandatory (but can have an empty value).

Example

Request

POST http://example-base-url.com/v1/partner_feedback
Content-Type: application/json
Api-Key: my-secret-key

{
  "data": {
    "type": "tariff_update",
    "attributes": {
      "content": "AC 0.3€/kWh",
      "tariff": "KiWhi Pass CONFORT",
      "cpo": "IONITY,EnBW",
      "emp": "KiWhi Pass",
      "language": "en"
    }
  }
}

Response

204 No Content

Empty response.

400 Bad Request

Client provided invalid request body.

{
  "errors": [
    {
      "status": "400",
      "title": "..."
    }
  ]
}
403 Forbidden
{
  "errors": [
    {
      "status": "403",
      "title": "api_key missing"
    }
  ]
}
500 Internal Server Error

An unexpected error happened.

{
  "errors": [
    {
      "status": "500",
      "title": "some error"
    }
  ]
}