Skip to content

Vendors

Open .md

API reference Purchasing

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

10 operations

  • POSTCreate a vendor/v1/api/store/{team_slug}/vendorCreates a vendor, with its contacts, and returns it with contacts.
  • GETList vendors/v1/api/store/{team_slug}/vendorLists the team's live vendors (the suppliers you buy from on purchase orders), each with its contacts.
  • GETGet a vendor/v1/api/store/{team_slug}/vendor/{hash_id}Returns one vendor, deleted ones included (trashed), with its contacts (deleted ones included).
  • GETGet the QuickBooks vendor linked to a vendor/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 an empty data when nothing is linked.
  • PUTUpdate a vendor/v1/api/store/{team_slug}/vendor/{hash_id}Changes the fields you send and returns the vendor.
  • PATCHUpdate a vendor (PATCH)/v1/api/store/{team_slug}/vendor/{hash_id}Changes the fields you send and returns the vendor.
  • PUTLink a vendor to a QuickBooks vendor/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.
  • DELETEDelete a vendor/v1/api/store/{team_slug}/vendor/{hash_id}Deletes a vendor.
  • DELETEUnlink a vendor from QuickBooks/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}.
  • PATCHRestore a deleted vendor/v1/api/store/{team_slug}/vendor/{hash_id}/restoreBrings back a deleted vendor.