Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Entity API / updateSupplier

Operation Information

  • Application Reference: com.hornbill.suppliermanager
  • Scope: Entity - Suppliers
  • Class: Entity
  • Required Privilege Level: user
  • Required Rights: Group A - canUpdateSuppliers

Description

This flowcode operation updates the specified supplier.

Request Parameters

The updateSupplier API takes the following input parameters. It is important to note that the parameters must satisfy the requirement of the input validation checks.

Name Type Required Description
supplierId xs:integer Yes The supplier id.
name xs:string No The name of the existing supplier.
nickname xs:string No The nickname of the existing supplier.
status xs:string No The status of the existing supplier. Accepted values are (status.active, status.preferred, status.barred, status.archived).
supplierStatus xs:string No The supplier status of the existing supplier. Accepted values are provided from a simple list.
industry xs:string No The industry in which the existing supplier is based.
emailAddressAccounts xs:string No The accounts email address of the existing supplier.
emailAddressSales xs:string No The sales email address of the existing supplier.
emailAddressSupport xs:string No The support email address of the existing supplier.
address xs:string No The mailing address of the existing supplier.
city xs:string No The city where the existing supplier is based.
state xs:string No The state where the existing supplier is based.
postalCode xs:string No This is the postal code of the existing supplier.
country xs:string No The country where the existing supplier is based.
timezone xs:string No The timezone where the existing supplier is based.
phoneNumber xs:string No This is the primary phone number of the existing supplier.
website xs:string No The existing supplier's website.
notes xs:string No Any additional notes for the existing supplier.
logo xs:string No The company logo of the existing supplier.
custom0 xs:string No Custom data held against the existing supplier.
custom1 xs:string No Custom data held against the existing supplier.
custom2 xs:string No Custom data held against the existing supplier.
custom3 xs:string No Custom data held against the existing supplier.
custom4 xs:string No Custom data held against the existing supplier.
custom5 xs:string No Custom data held against the existing supplier.
custom6 xs:string No Custom data held against the existing supplier.
custom7 xs:string No Custom data held against the existing supplier.
custom8 xs:string No Custom data held against the existing supplier.
custom9 xs:string No Custom data held against the existing supplier.

Response Parameters

Name Type Description
outcome xs:string The outcome of the flowcode operation.
supplierId xs:integer The supplier id.

Code Examples

In This Document