Create supplier
hub_create_supplierAdd a business the merchant buys from. Only the name is required, and it must be unique among this company’s suppliers. Set contactEmail if the merchant will ever email purchase orders to this supplier — send_purchase_order has nowhere to send without it. A brand-new supplier carries NO items, so it cannot be ordered from yet: link its items with link_supplier_items before creating a purchase order. Ask the merchant for details you do not have rather than inventing them — this ends up on the orders their supplier reads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| name | Yes | Supplier name as the merchant calls it | |
| notes | No | Free-text notes, e.g. delivery days or account number | |
| phone | No | ||
| state | No | State or province | |
| country | No | ||
| address1 | No | Street address | |
| address2 | No | Unit, suite or floor | |
| postCode | No | ZIP / postal code | |
| contactName | No | Person the merchant deals with | |
| contactEmail | No | Where purchase orders are emailed |