---
title: "Company.Update"
method: POST
path: "/online/RivhitOnlineAPI.svc/Company.Update"
---

# Company.Update

`POST /online/RivhitOnlineAPI.svc/Company.Update`

## Request body

- object
  - `api_token` string, uuid, required — Rivhit Merchant API Identifier. **Default:** No
  - `print_note` integer, nullable — Print a Signature Voucher Flag. **Range:** 1 to 3 **Default:** No
  - `company_name` string, nullable — The Name of the Company. **Range:** 0 to 40 **Default:** No
  - `street` string, nullable — The Street Address of the Company. **Range:** 0 to 35 **Default:** No
  - `city` string, nullable — The City of the Company. **Range:** 0 to 15 **Default:** No
  - `zipcode` string, nullable — The Zip Code of the Company. **Length:** 0 to 7 **Default:** No
  - `phone` string, nullable — The Phone Number of the Company. **Length:** 0 to 15 **Default:** No
  - `fax` string, nullable — The Fax Number of the Company. **Length:** 0 to 15 **Default:** No
  - `manager_name` string, nullable — The Name of the Company Manager. **Length:** 0 to 30 **Default:** No
  - `header_text` string, nullable — Added Text to the Title. **Length:** 0 to 80 **Default:** No
  - `round_digits` integer, nullable — Rounding Total for Documents Flag (0 = X.00, 1 = X.X0, 2 = X.XX). **Range:** 0 to 2 **Default:** No
  - `header_type` integer, nullable — The Header Type for Documents. **Range:** 0 to 6 **Default:** No
  - `auto_postponed_documents` integer, nullable — Automatic Invoice Generation for Deferred Receipts Flag. **Range:** 0 to 3 **Default:** No
  - `show_duedate` integer, nullable — Print Balance/Due Date on Documents Flag **Range:** 0 to 3 **Default:** No
  - `request_reference` string, nullable — A reference string for tracking the request. **Default:** No

## Response `200`

Success - Company Details Updated

- object
  - `error_code` integer — The Response Error/Status Number (0 = Success).
  - `client_message` string — The Client Error Message.
  - `debug_message` string — The Response Error Message.
  - `data` object
    - `update_success` string — Indicates if the Update was Successful.

## Other responses

- `400` — Request Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/rivhit/apis/get-payment-url-22-12.md) · [All operations](https://skmtc.net/rivhit/apis/get-payment-url-22-12/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rivhit/get-payment-url-22-12/revisions/ed5261a52458/schema)
