Skip to content

Vendor contacts

Open .md

API reference Purchasing Vendors

The people at a vendor. One contact can be primary.

8 operations

  • POSTAdd a contact to a vendor/v1/api/store/{team_slug}/vendor/{hash_id}/contactAdds a contact to the vendor and returns it.
  • GETList a vendor's contacts/v1/api/store/{team_slug}/vendor/{hash_id}/contactLists every contact of the vendor, deleted ones included (trashed).
  • GETGet a vendor contact/v1/api/store/{team_slug}/vendor/{hash_id}/contact/{id}Returns one live contact of the vendor.
  • PUTUpdate a vendor contact/v1/api/store/{team_slug}/vendor/{hash_id}/contact/{id}Changes the fields you send and returns the contact.
  • PATCHUpdate a vendor contact (PATCH)/v1/api/store/{team_slug}/vendor/{hash_id}/contact/{id}Changes the fields you send and returns the contact.
  • PATCHSet a vendor's primary contact/v1/api/store/{team_slug}/vendor/{hash_id}/contact/{id}/primaryMakes this contact the vendor's primary contact; the previous one stops being primary.
  • DELETEDelete a vendor contact/v1/api/store/{team_slug}/vendor/{hash_id}/contact/{id}Deletes a vendor contact.
  • PATCHRestore a deleted vendor contact/v1/api/store/{team_slug}/vendor/{hash_id}/contact/{id}/restoreBrings back a deleted vendor contact as it was.