Create Vendor Catalog
Changed onOperates on Vendors. In the Zuper client app this module is labeled "Vendor" for most companies, and "Supplier" for companies in the roofing industry — the API and data shape are identical either way. Vendors and Subcontractors share the exact same underlying schema and endpoints; they're distinguished only by the vendor_type field (VENDOR here) and the /vendors vs /subcontractors route prefix. Vendor catalog rows record which products a vendor supplies, at what cost. This sub-resource exists only under /vendors — there is no /subcontractors/:uid/catalog route, even though the underlying schema and controller don't discriminate by vendor_type at all.
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/vendors/{vendor_uid}/catalog
- AuthAPI key in header x-api-key
Path parameters
Request body
Response
200
Changes
- breaking
the
//request property type changed fromstringtonumber - warning
the
//request property's maxLength was set to2000 - info
added the new optional request property
// - info
added the media type
application/jsonfor the response with the status
- breaking