---
title: "Save the company's seller details"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Save the company's seller details

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="put">PUT</span>
<code class="cvo-op-path-code">/v1/company/seller-details</code>
</div>
</div>

Saves the seller details as a new version that names the person, and the address, contact and electronic address as the next version of the company's Head office. A company with no Head office yet gets one, in the company's country. An empty field is no value. With `useOnInvoices: true`, every mapping of this company fills each seller field its card does not write from these details, and the seller VAT ID from `GET /v1/company/vat-id`. A field the card writes keeps the file's value. `country` is a two-letter country code. `endpointScheme` and `endpointValue` are given together, the scheme from the official electronic address scheme list, such as `9930` or `0204`. Only a signed-in person can save them. An API key is refused with 401 `session_required`.

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The saved version. |
| `400` | The details were refused (`invalid_seller_details`). The message names the field. Nothing was saved. |
| `401` | No usable credential was sent (`invalid_credentials`), or an API key was used (`session_required`). |
| `501` | This deployment has no database, so it keeps no seller details (`no_database`). Sending the same request again will not help. |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/save-the-company-s-seller-details/index.mdx
