# Vendors

Section: Purchasing. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/vendors/

This page and all 10 operation pages, in one file: https://developer.yoprint.com/llms/vendors.txt

The suppliers you buy from. Purchase orders and your products name a vendor.

## Operations (10)

- [Create a vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-store.md): `POST /v1/api/store/{team_slug}/vendor`. Creates a vendor, with its contacts, and returns it with `contacts`.
- [List vendors](https://developer.yoprint.com/reference/vendors/v1-vendor-index.md): `GET /v1/api/store/{team_slug}/vendor`. Lists the team's live vendors (the suppliers you buy from on purchase orders), each with its `contacts`.
- [Get a vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-show.md): `GET /v1/api/store/{team_slug}/vendor/{hash_id}`. Returns one vendor, deleted ones included (`trashed`), with its `contacts` (deleted ones included).
- [Get the QuickBooks vendor linked to a vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-external-id-get.md): `GET /v1/api/store/{team_slug}/vendor/{hash_id}/external_id/{id}`. Reads the QuickBooks Online vendor linked to this vendor for the QuickBooks connection `{id}`: its QuickBooks `id` and `name`, `override` (the override lock), `attached_by_user` and `vendor_id`, or…
- [Update a vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-update-put.md): `PUT /v1/api/store/{team_slug}/vendor/{hash_id}`. Changes the fields you send and returns the vendor.
- [Update a vendor (PATCH)](https://developer.yoprint.com/reference/vendors/v1-vendor-update-patch.md): `PATCH /v1/api/store/{team_slug}/vendor/{hash_id}`. Changes the fields you send and returns the vendor.
- [Link a vendor to a QuickBooks vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-external-id-update.md): `PUT /v1/api/store/{team_slug}/vendor/{hash_id}/external_id/{id}`. Links this vendor to an existing QuickBooks Online vendor, so YoPrint syncs it to that vendor.
- [Delete a vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-destroy.md): `DELETE /v1/api/store/{team_slug}/vendor/{hash_id}`. Deletes a vendor.
- [Unlink a vendor from QuickBooks](https://developer.yoprint.com/reference/vendors/v1-vendor-external-id-delete.md): `DELETE /v1/api/store/{team_slug}/vendor/{hash_id}/external_id/{id}`. Removes the link between this vendor and its QuickBooks Online vendor for the connection `{id}`.
- [Restore a deleted vendor](https://developer.yoprint.com/reference/vendors/v1-vendor-restore.md): `PATCH /v1/api/store/{team_slug}/vendor/{hash_id}/restore`. Brings back a deleted vendor.
