Get Subcontractor Details

Changed on

Operates on Subcontractors, shown in the Zuper client app as "Subcontractor" (in every industry). Subcontractors share the exact same underlying schema and endpoints as Vendors / Suppliers; they're distinguished only by the vendor_type field (SUB_CONTRACTOR here) and the /subcontractors route prefix.

get/subcontractors/{vendor_uid}

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/subcontractors/{vendor_uid}
  • Auth
    API key in header x-api-key

Path parameters

vendor_uidstring required

Response

200

type'SUCCESS'
dataobject

Full subcontractor document (minus _id, company_id, __v, and internal supplier-integration IDs), with accounts.payment_term/accounts.tax_group and created_by populated.

Changes