Get Branch Job Accounts
Changed onLooks up, live from the supplier, the job accounts you can order against at one or more branches, so you can choose preferred_job_account_number before saving a branch with Create Supplier Branch. Pass branch_code (comma-separated for several branches) or, for SRS only, both ship_to_latitude and ship_to_longitude to find your SRS branches near a ship-to location; when SRS receives both coordinates they take precedence over branch_code. For SRS a job account is an SRS job account under your customer code, for ABC Supply it is a Ship-To account, and for QXO it is a job under the QXO account that owns the branch (each QXO entry also returns that account_id). ABC Supply and QXO ignore coordinates, so a coordinates-only request returns an empty list for them. 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}/branch_job_accounts
- AuthAPI key in header x-api-key
Path parameters
UID of the supplier provider (from Get Supplier Providers).
Query parameters
Supplier branch code. Separate several with commas, e.g. 1042,1187. Required unless both coordinates are sent.
Ship-to latitude. Must be sent together with ship_to_longitude. Used by SRS only.
Ship-to longitude. Must be sent together with ship_to_latitude. Used by SRS only.
Response
200
Changes
- info
endpoint added
- info