Partner Provisioning

Update an owned customer's requisites

Update company/contact requisites on a customer you own (e.g. after the customer edits their profile in your app). Only provided fields change. Affects FUTURE invoices only — already-issued invoices are immutable snapshots.

patch/v1/partner/customers/{customer_id}

Request

  • Base URL: https://developers.servera.lt
  • URL: https://developers.servera.lt/v1/partner/customers/{customer_id}
  • Auth: HTTP bearer

Path parameters

customer_idinteger required

Request body

company_namestring nullable
company_numberstring nullable
tax_idstring nullable
first_namestring nullable
last_namestring nullable
phonestring nullable
address1string nullable
address2string nullable
citystring nullable
statestring nullable
postcodestring nullable
countrystring nullable
languagestring nullable

Example request

{
  "address1": "Vilniaus g. 1",
  "city": "Vilnius",
  "company_name": "UAB Pavyzdys",
  "company_number": "300123456",
  "country": "LT",
  "postcode": "01100",
  "tax_id": "LT100001112223"
}

Response

Successful Response

customer_idinteger required
emailstring nullable
company_namestring nullable
namestring nullable
countrystring nullable
languagestring nullable
email_verifiedboolean nullable
created_atstring nullable
customer_createdboolean nullable

Only set by POST /partner/customers: true if a new account was created, false if an existing one was updated/reused.

Changes

No recorded changes to this operation across all 1 revision of this API.