Skip to content

List Distributors ​

Returns a paginated list of distributors, sorted by internal ID ascending.

Required license

This endpoint requires the Stock management add-on.

Request ​

GET /api/oauth/v2/resource/wares/distributors

HeaderValue
AuthorizationBearer {access_token}

Query parameters ​

ParameterTypeRequiredDescription
offsetintegerNoStart position (default: 0)
limitintegerNoNumber of results (default: 50, max: 200)
statusstringNoFilter by status. Allowed values: active, deleted, all. Comma-separated multiple values are supported, default all. See Conventions

Response ​

Success (200 OK) ​

json
{
  "data": [
    {
      "id": "a7b8c9d0-e1f2-3456-abcd-456789012345",
      "name": "Sanitätshaus Muster GmbH",
      "contactPerson": "Max Mustermann",
      "street": "Musterstraße 1",
      "zip": "1010",
      "city": "Wien",
      "country": "Österreich",
      "telCode": "+43",
      "tel": "1 2345678",
      "email": "kontakt@muster-sanitaet.at",
      "description": null,
      "color": "#df3a7f",
      "deleted": false
    }
  ],
  "meta": {
    "total": 5,
    "offset": 0,
    "limit": 50
  }
}

Response fields ​

FieldTypeDescription
dataArrayList of distributors
data[].idstring (UUID)Unique ID of the distributor
data[].namestringName of the distributor
data[].contactPersonstring | nullContact person
data[].streetstring | nullStreet and house number
data[].zipstring | nullZIP / postal code
data[].citystring | nullCity
data[].countrystring | nullCountry
data[].telCodestring | nullPhone country code
data[].telstring | nullPhone number
data[].emailstring | nullEmail address
data[].descriptionstring | nullDescription text
data[].colorstringColor as hex code (e.g. #df3a7f)
data[].deletedbooleanWhether the distributor is deleted
meta.totalintegerTotal number of distributors
meta.offsetintegerCurrent start position
meta.limitintegerNumber of returned entries
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/wares/distributors?offset=0&limit=50&status=beispiel" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
400validation_errorInvalid status value
401invalid_clientInvalid or missing access token
403insufficient_scopeScope wares not present, or Stock management add-on not licensed

Offisy GmbH