v1

latestOpenAPI 3.0.02026-08-04880393.1 KB

Company.Update

post/online/RivhitOnlineAPI.svc/Company.Update

Request body

api_tokenstring uuid required

Rivhit Merchant API Identifier.

Default: No

print_noteinteger nullable

Print a Signature Voucher Flag.

Range: 1 to 3
Default: No

company_namestring nullable

The Name of the Company.

Range: 0 to 40 Default: No

streetstring nullable

The Street Address of the Company.

Range: 0 to 35 Default: No

citystring nullable

The City of the Company.

Range: 0 to 15 Default: No

zipcodestring nullable

The Zip Code of the Company.

Length: 0 to 7 Default: No

phonestring nullable

The Phone Number of the Company.

Length: 0 to 15 Default: No

faxstring nullable

The Fax Number of the Company.

Length: 0 to 15 Default: No

manager_namestring nullable

The Name of the Company Manager.

Length: 0 to 30 Default: No

header_textstring nullable

Added Text to the Title.

Length: 0 to 80 Default: No

round_digitsinteger nullable

Rounding Total for Documents Flag (0 = X.00, 1 = X.X0, 2 = X.XX).

Range: 0 to 2 Default: No

header_typeinteger nullable

The Header Type for Documents.

Range: 0 to 6 Default: No

auto_postponed_documentsinteger nullable

Automatic Invoice Generation for Deferred Receipts Flag.

Range: 0 to 3 Default: No

show_duedateinteger nullable

Print Balance/Due Date on Documents Flag

Range: 0 to 3 Default: No

request_referencestring nullable

A reference string for tracking the request.

Default: No

Example request

{
  "api_token": "DECD03E5-E35C-41E8-84F7-FBA2FB483928",
  "print_note": 1,
  "company_name": "עסק לנסיון בע\"מ ",
  "street": "יפו ",
  "city": "יפו",
  "zipcode": "098987",
  "phone": "0501234567",
  "fax": "786543",
  "manager_name": "מנהל",
  "header_text": "כותרת המסמך",
  "auto_postponed_documents": 3,
  "show_duedate": 1,
  "request_reference": "Ref-12345"
}

Response

Success - Company Details Updated

error_codeinteger

The Response Error/Status Number (0 = Success).

client_messagestring

The Client Error Message.

debug_messagestring

The Response Error Message.

Example response

{
  "error_code": 0,
  "client_message": "",
  "debug_message": "",
  "data": {
    "update_success": true
  }
}