Altoviz icon

Altoviz

Invoicing app for small businesses

Supplier → Update

AI-generated

Summary

Update a supplier by ID. Requires the Supplier ID. Optionally set fields via the Additional Fields collection: Cell Phone, Default Payment Method, Email, First Name, Internal ID, Internal Notes, Last Name, Name, Number, Phone, Title. Sends a PUT request to /v1/Suppliers/ with the specified fields in the request body.

Inputs

  • Supplier ID (required) — The ID of the supplier to update
  • Additional Fields — Collection of optional fields to update: Cell Phone (string), Default Payment Method (options: Bill, Card, Cash, Check, Order, Other, Transfer, Usec), Email (string), First Name (string), Internal ID (string), Internal Notes (string), Last Name (string), Name (string), Number (string), Phone (string), Title (string)

Output shape

The updated supplier object as returned by the API

The operation uses the Request Options (batching, timeout, proxy, SSL settings) for the HTTP request but these do not alter the core operation.

Examples

Example 1: Update a supplier's name and email

Set Supplier ID to 123, and in Additional Fields set Name to 'New Supplier Name' and Email to 'new@email.com'

Links

Discussion