party
Manage customers and vendors in Wave accounting: list, search, create, update, and delete customers; read vendor data. Uses Wave API for party management.
Instructions
Customer and vendor management in Wave.
NOTE: Vendors are read-only in the Wave API (no create/update/delete mutations).
Operations: Read: list, get, search (both customer and vendor) Write: create, update, delete (customer only)
Args: operation: One of the operations listed above. party_type: One of: customer, vendor. party_id: Entity ID (base64 string, required for get/update/delete). data: Dict of fields for create/update. Key customer fields: - name (str, required for create) - firstName, lastName (str) - email (str) - phone (str) - address (dict: addressLine1, addressLine2, city, postalCode, countryCode, provinceCode) - currency (str, currency code) - shippingDetails (dict: name, phone, address) query: Search text for search operation (matches name, client-side). page: Page number (default 1). page_size: Results per page (default 50).
Returns: JSON string with party data or {"error": "..."}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| page | No | ||
| query | No | ||
| party_id | No | ||
| operation | Yes | ||
| page_size | No | ||
| party_type | No | customer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |