Operators

Patch an operator

Changed on

Required scope: operators:write. Only name, email, financeEmail and financeCommunicationEmail may be updated; VAT number, EAN/CIF and logo are read-only via this endpoint.

patch/api/v1/operators/{id}

Request

  • Base URL
    https://partner-api.monta.com
  • URL
    https://partner-api.monta.com/api/v1/operators/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

Request body

namestring nullable

Updated name of the operator

emailstring email nullable

Primary contact email for the operator

financeEmailstring email nullable

Finance / billing email for the operator

financeCommunicationEmailstring email nullable

Recipient for important payment notices (late payment, freeze warning, frozen). When not set, these go to financeEmail.

Example request

{
  "name": "Monta",
  "email": "contact@example.com",
  "financeEmail": "finance@example.com",
  "financeCommunicationEmail": "billing_notices@example.com"
}

Response

Updated operator

idinteger

ID of the operator

namestring required

Name of operator

identifierstring required

Identifier of operator

partnerIdinteger nullable

Id of the partner

vatNumberstring nullable

VAT number

Example response

{
  "id": 14,
  "name": "Monta",
  "identifier": "monta",
  "partnerId": 1,
  "vatNumber": "FOO-123-ABC"
}

Changes