Pennylane icon

Pennylane

Interact with Pennylane accounting API

Supplier → Update

AI-generated

Summary

Update an existing supplier in Pennylane by specifying its ID and providing any subset of editable fields such as name, email, phone, address, postal code, city, country code, VAT number, SIREN, IBAN, and BIC.

Inputs

  • Supplier ID (required) — The ID of the supplier to update.
  • Update Fields — A collection of supplier properties to update, including name, email, phone, address, postal code, city, country code (ISO 3166-1 alpha-2), VAT number, SIREN, IBAN, and BIC. Fields omitted will remain unchanged.
  • Request Options — Optional settings for the HTTP request such as batching, SSL acceptance, proxy configuration, and timeout.

Output shape

a single record representing the updated supplier details returned from Pennylane.

The output includes the supplier object after update. RequestErrors or API errors will be returned if the update fails. Supports batching of inputs to update multiple suppliers with throttling options.

Examples

Example 1: Update a supplier's email and phone by their ID.

Set the Supplier ID to target supplier, and fill 'Update Fields' with new email and phone values.

Discussion