Skip to content

List Wares ​

Returns a paginated list of all wares and services of the company, sorted by internal ID ascending. With term set, the list is sorted by relevance instead.

This endpoint supports no incremental filters (updatedSince, deletedSince). Master-data changes require a full sync. See Full sync vs. incremental sync for how to track stock changes without a full sync of /wares itself.

The stock block has no field for open purchase orders. To check whether a ware has one, use GET /wares/purchases?wareId={uuid}.

Request ​

GET /api/oauth/v2/resource/wares

HeaderValue
AuthorizationBearer {access_token}

Query parameters ​

ParameterTypeRequiredDescription
offsetintegerNoStart position (default: 0)
limitintegerNoNumber of results (default: 50, max: 200)
typestringNoFilter by ware or service
statusstringNoFilter by status. Allowed values: active, archived, deleted, all. Comma-separated multiple values are supported, default all. See Conventions
categoryIdstring (UUID)NoReturn only wares of a specific category
termstringNoSearch term, matched against name, internal number, and number

Response ​

Success (200 OK) ​

Example: with Stock management licensed

json
{
  "data": [
    {
      "id": "c3d4e5f6-a7b8-9012-cdef-012345678901",
      "name": "Kompressionsstrumpf Klasse II",
      "description": "Paar, Größe M",
      "number": "1004",
      "internalNumber": "KS-M-002",
      "type": "ware",
      "price": 39.90,
      "vat": 20,
      "color": "#00adba",
      "sellable": true,
      "deliverable": true,
      "invoiceSortIndex": 0,
      "archived": false,
      "deleted": false,
      "category": "d4e5f6a7-b8c9-0123-defa-123456789012",
      "groups": [{ "name": "Verbandsmaterial" }],
      "storages": ["f6a7b8c9-d0e1-2345-fabc-345678901234"],
      "distributors": ["a7b8c9d0-e1f2-3456-abcd-456789012345"],
      "tenancies": ["f0e1d2c3-b4a5-6789-fedc-ba9876543210"],
      "stock": {
        "stockEffective": 24,
        "stockAvailable": 20,
        "stockMinimum": 10,
        "stockTarget": 30,
        "purchasingPriceNet": 18.50,
        "sellingPriceNet": 33.25,
        "unit": "pcs",
        "unitBase": 1,
        "unitBaseSign": false,
        "deliveryNotice": null,
        "storageNotice": null,
        "distributorNotice": null
      }
    }
  ],
  "meta": {
    "total": 142,
    "offset": 0,
    "limit": 50
  }
}

Example: without Stock management licensed

The stock key is not present in this case — it does not exist, and is not returned as null.

json
{
  "data": [
    {
      "id": "c3d4e5f6-a7b8-9012-cdef-012345678901",
      "name": "Kompressionsstrumpf Klasse II",
      "description": "Paar, Größe M",
      "number": "1004",
      "internalNumber": "KS-M-002",
      "type": "ware",
      "price": 39.90,
      "vat": 20,
      "color": "#00adba",
      "sellable": true,
      "deliverable": true,
      "invoiceSortIndex": 0,
      "archived": false,
      "deleted": false,
      "category": "d4e5f6a7-b8c9-0123-defa-123456789012",
      "groups": [],
      "storages": [],
      "distributors": [],
      "tenancies": ["f0e1d2c3-b4a5-6789-fedc-ba9876543210"]
    }
  ],
  "meta": {
    "total": 142,
    "offset": 0,
    "limit": 50
  }
}

Response fields ​

FieldTypeDescription
dataArrayList of wares
data[].idstring (UUID)Unique ID of the ware
data[].namestringName of the ware
data[].descriptionstring | nullDescription text
data[].numberstring | nullNumber of the ware
data[].internalNumberstring | nullInternal number of the ware
data[].typestringware or service
data[].pricenumber | nullSales price
data[].vatnumberVAT rate in percent (e.g. 20)
data[].colorstringColor as hex code (e.g. #00adba)
data[].sellablebooleanWhether the ware can be sold
data[].deliverablebooleanWhether the ware can be delivered
data[].invoiceSortIndexintegerSort position on the invoice
data[].archivedbooleanWhether the ware is archived
data[].deletedbooleanWhether the ware is deleted
data[].categorystring (UUID) | nullID of the assigned category, loadable via Get Ware Category
data[].groupsArrayAssigned quick-selection groups
data[].groups[].namestringName of the quick-selection group (no id — groups have no UUID)
data[].storagesArray<string (UUID)>IDs of the assigned storages, loadable via Get Storage
data[].distributorsArray<string (UUID)>IDs of the assigned distributors, loadable via Get Distributor
data[].tenanciesArray<string (UUID)>IDs of the assigned tenants
data[].stockobjectOnly present when the Stock management add-on is licensed and the owning user of your API access has the Lagerverwaltung: Anzeigen permission. If not, this key is missing entirely — not null.
data[].stock.stockEffectivenumberCurrent physical stock
data[].stock.stockAvailablenumberStock available for sale
data[].stock.stockMinimumnumberConfigured minimum stock
data[].stock.stockTargetnumberConfigured target stock
data[].stock.purchasingPriceNetnumber | nullNet purchasing price
data[].stock.sellingPriceNetnumber | nullNet selling price
data[].stock.unitstring | nullStock unit (e.g. pcs)
data[].stock.unitBasenumber | nullBase quantity used for unit conversion
data[].stock.unitBaseSignbooleanBase unit flag (default: false). Does not contain a label such as “pcs”
data[].stock.deliveryNoticestring | nullNote about delivery
data[].stock.storageNoticestring | nullNote about storage
data[].stock.distributorNoticestring | nullNote about the distributor
meta.totalintegerTotal number of wares
meta.offsetintegerCurrent start position
meta.limitintegerNumber of returned entries
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/wares?offset=0&limit=50&type=beispiel&status=beispiel&categoryId=b2c3d4e5-f6a7-8901-bcde-f01234567890&term=Muster" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
400validation_errorInvalid type or status value, or categoryId is not a valid UUID format
401invalid_clientInvalid or missing access token
403insufficient_scopeScope wares not present

Offisy GmbH