v1

latestOpenAPI 3.0.12026-07-243686491.1 MB
Sponsored Charge Points

Update a sponsored charge point

Required scope: sponsored-charge-points:write </br>Organization authorization: supported

patch/api/v1/sponsored-charge-points/{sponsoredChargePointId}

Path parameters

sponsoredChargePointIdinteger required

Request body

priceGroupIdinteger nullable

The price group for this sponsorship, Only price groups of type reimbursement or sponsored are allowed</br>Note: if the priceGroupId is null the charge point cost price group will be used instead, if the charge point has no cost price group set the request will fail

payoutSchedule'end-of-month' | 'realtime' | 'other'
payForSubscriptionsboolean nullable

Indicates that company pay for subscriptions

autoApproveElectricityCostboolean nullable

When true, employee-submitted electricity costs on this sponsored charge point are auto-approved without manual review.

notestring nullable

Note for the sponsored charge point

Example request

{
  "priceGroupId": 1,
  "note": "This is a note"
}

Response

Updated sponsored charge point with provided id

idinteger

Id of this sponsored charge point

teamIdinteger

Id of the team of this sponsored charge point

payout'end-of-month' | 'realtime' | 'other' required
notestring nullable

Note for the sponsored charge point

payForSubscriptionsboolean

Indicates the company pays for the subscriptions

autoApproveElectricityCostboolean

When true, employee-submitted electricity costs on this sponsored charge point are auto-approved without manual review.

acceptedAtstring date-time nullable

Date the sponsorship was accepted

createdAtstring date-time required

Creation date of this sponsored charge point

updatedAtstring date-time required

Date this sponsored charge point was last updated

deletedAtstring date-time nullable

Date this sponsored charge point was deleted