Activate/Deactivate 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. Activates or deactivates the record based on is_active.

put/subcontractors/{vendor_uid}/activate

Request

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

Path parameters

vendor_uidstring required

Request body

is_activeboolean required

Response

200

type'SUCCESS'
titlestring
messagestring

Changes