Skip to main content
POST
/
v3
/
chargers
/
{charger}
/
actions
/
charging-profile
Set Charging Profile
curl --request POST \
  --url https://app.plugchoice.com/api/v3/chargers/{charger}/actions/charging-profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connector_id": 123,
  "charging_profile": {
    "charging_profile_id": 123,
    "transaction_id": 123,
    "stack_level": 123,
    "charging_profile_purpose": "<string>",
    "charging_profile_kind": "<string>",
    "recurrency_kind": "<string>",
    "valid_from": "<string>",
    "valid_to": "<string>",
    "charging_schedule": {
      "duration": 123,
      "start_schedule": "<string>",
      "charging_rate_unit": "<string>",
      "charging_schedule_period": [
        {
          "start_period": 123,
          "limit": 123,
          "number_phases": 123
        }
      ],
      "min_charging_rate": 123
    }
  }
}
'
{
  "status": "<string>"
}
Sends a SetChargingProfile command to the charger. Supports the full OCPP 1.6 SetChargingProfile structure including ChargePointMaxProfile, TxDefaultProfile, and TxProfile purposes.
charger
string
required
The UUID of the charger.
connector_id
integer
required
The connector ID. Use 0 for the charge point level, or a positive integer for a specific connector.
charging_profile
object
required
The charging profile to set.

Response

status
string
The response status from the charger (e.g., Accepted, Rejected).