Create a supplier
precoro_create_supplierWRITE: create a supplier. The name must be unique in the company (a duplicate name, unique code or registration number is rejected). The supplier is available to all legal entities. Depending on the company's settings it may need approval before it can be used on orders. Returns the new supplier. POST /suppliers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| name | Yes | ||
| note | No | ||
| phone | No | ||
| state | No | ||
| country | No | Country code or name as Precoro shows it, e.g. US. | |
| contacts | No | Supplier contacts. Precoro can email purchase orders to them. | |
| conditions | No | Payment or delivery conditions text. | |
| currencies | No | Currencies the supplier is paid in, e.g. ["USD"]. | |
| postal_code | No | ||
| unique_code | No | Your own supplier code (unique). | |
| legal_address | No | ||
| minimum_order_sum | No | ||
| delivery_period_days | No |