Skip to content

List Location Suppliers

Request

Returns the Location's Suppliers (counterparties), sorted by ID. Deleted Suppliers are not returned. Use a Supplier id as supplier_id in Create a Financial Transaction and in Create an inventory operation.

The Business User needs Finances access in the Location; otherwise the request returns 403.

Security
BearerPartnerUser
Path
location_idintegerrequired

Location ID

Example:4564
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}, User {user_token}

curl -i -X GET \
  https://developer.alteg.io/_mock/en/b2b-v1/openapi/references/suppliers/4564 \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: application/json'

Responses

OK

Bodyapplication/json
successboolean
dataArray of objects(Supplier)
Example:
[ { "id": 4043, "company_id": 4564, "type_id": 0, "type": { … }, "title": "Bloom Beauty Supply", "inn": "1234567890", "kpp": "123401001", "phone": "+13155550142", "email": "orders@example.com", "contact": "Jordan Lee, sales manager", "comment": "Delivers on Tuesdays", "address": "100 Main Street, Springfield" } ]
metaobject
Response
{ "success": true, "data": [ { … }, { … } ], "meta": { "count": 2 } }