Partner Provisioning
Create or update an end customer (no order)
Create an end customer, or update its requisites, WITHOUT placing an order — for pushing customer details to Servera before (or independently of) a purchase.
- Email not in Servera → a new account is created (owned by you, verification email sent) → customer_created: true.
- Email exists and you own it → its requisites are updated → customer_created: false.
- Email exists but you don't own it → adopted + updated when link_if_exists: true, else 409 customer_exists_not_owned.
Naturally idempotent: the email identifies the account, so a retry updates the same customer rather than creating a duplicate. Returns the customer with customer_id (use it on later /partner/orders) and its services.
post/v1/partner/customers
Request
- Base URL: https://developers.servera.lt
- URL: https://developers.servera.lt/v1/partner/customers
- Auth: HTTP bearer
Request body
Example request
{
"customer": {
"company_name": "UAB Pavyzdys",
"company_number": "300000000",
"country": "LT",
"email": "klientas@pavyzdys.lt",
"first_name": "Vardas",
"language": "lt",
"last_name": "Pavardė",
"tax_id": "LT100000000000"
},
"link_if_exists": true
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.