Vendor custom fields

List vendor custom fields

Returns every custom field the company has defined for vendors, each with the value set on this vendor where there is one. Fields with no value are still listed, so the response doubles as the form to fill in.

GET
https://api.portal.magicdoor.com/company-app/vendors/{vendorId}/custom-fields

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

vendorIdstringrequired

The vendor whose custom fields you are working with. A Snowflake id, sent as a decimal string.

example: 1830472847398404100

Response

200 · Every custom field defined for vendors, with this vendor's values.

customFieldsobject[]

Every custom field defined for this record type, whether or not a value has been set.

401 · The access token is missing, expired, or does not belong to a property manager.