Delete Subcontractor

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. Rejected with 400 if the subcontractor is currently active (is_active: true), or if it's an integrated favorite supplier.

delete/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'
titlestring
messagestring

Changes