WorkBuddy

Interact with WorkBuddy API - Field service management

Actions227

Crm Suppliers → Create supplier

AI-generated

Summary

Create a new supplier record in the CRM Suppliers resource.

Inputs

  • name (required) — Supplier display name (required)
  • address (required) — Address details (collection of street, suburb, state, postal code, country, coordinates, timezone)
  • contact (required) — Contact person details (collection of first name, last name, mobile, email, title, note)
  • legalName — Legal or registered name of the supplier
  • phone — Phone number of the supplier
  • email — Primary email address of the supplier
  • website — Supplier website URL
  • integrationId — External integration identifier
  • notes — Additional notes or comments
  • customFields — Custom key‑value fields validated against tenant definitions
  • socialNetwork — Social media handles (collection)
  • taxId — Tax identification number
  • billTo — Billing address or contact information
  • accounting — Tax settings; omitting leaves existing rates unchanged
  • requestOptions — Configuration for HTTP requests (batching, timeout, proxy, SSL options)
  • allowUnauthorizedCerts — Accept invalid SSL certificates
  • proxy — HTTP proxy URL including optional authentication
  • timeout — Request timeout in milliseconds

Output shape

a single supplier resource object

Returns the created supplier with all populated fields; may include generated identifiers and timestamps. Errors are wrapped in an error envelope.

Examples

Example 1: Add a new supplier with basic details

Name=Acme Corp; Address={Street1:'123 Main', City:'Anytown', State:'CA', PostalCode:'90210', Country:'US'}; Contact={FirstName:'John',LastName:'Doe',Email:'john@example.com'}; CustomFields={'taxId':'12345'}

Example 2: Create supplier with batch request options

Name=Beta Ltd; requestOptions.batch.batchSize=100; requestOptions.timeout=15000; proxy='http://proxy.myco.com:8080'

Example 3: Create supplier using only required fields

Name=Test Supplier; Address={Street1:'999 Test St', Suburb:'Testville', State:'XY', PostalCode:'12345', Country:'XX'}; Contact={FirstName:'Anna',LastName:'Tester'}; Email='anna@test.com'

Links

Discussion