Get Saved Supplier Branches
Changed onLists the supplier branches already saved in Zuper for this provider. Each saved branch is a Zuper vendor linked to the provider, so the list is read from Zuper without calling the supplier, and every record carries a supplier_provider_details block with the branch code and the job account used for orders. Results are paginated with page and count and ordered with sort_by and sort (newest first by default); this endpoint does not use limit or sort_order. Unlike most endpoints, the response has no title, message is always success, and there is no current_records. Use Get Live Supplier Branches to see branches you have not saved yet. The provider must exist and be CONNECTED; otherwise the request fails with 404 (unknown provider) or 403 (not connected or reconnect required).
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/supplier_provider/{supplier_provider_uid}/local_branches
- AuthAPI key in header x-api-key
Path parameters
UID of the supplier provider (from Get Supplier Providers).
Query parameters
Page number.
Records per page.
Searches vendor name, display name, contact name, tax identifier and description. A full email address matches the vendor email exactly; a number matches the vendor number.
Return only active (true) or inactive (false) branches.
Alias of filter.is_active; ignored when filter.is_active is also sent.
Return only the favorite branch (true) or only the others (false).
Saved on or after this date (YYYY-MM-DD, company time zone). Applies only with filter.created_to_date.
Saved on or before this date (YYYY-MM-DD, company time zone). Applies only with filter.created_from_date.
Response
200
Changes
- info
endpoint added
- info