Index | Conventions

api/v1/items

Path: api/v1/items

This API is JSON:API compliant.

This endpoint supports the following methods:
GET

This endpoint requires an OAuth bearer token, and returns errors in a standard shape. See API Conventions for authentication, error responses and paging, which apply to every endpoint.

The resource type for this endpoint is Item
The identifier is itemno

Attributes

The Item resource type attributes are as follows:

AttributeTypeDescription
DescriptionstringThe item description.
ItemCodestringThe item code.

Example GET (Return specific)

Path: api/v1/items/10

Response:

This example shows the maximum set of fields the endpoint can return, all populated. A real response only contains the data that applies to that record, so fields that are empty or not relevant are omitted — do not assume every field shown here will be present in every response.

{
    "data": {
        "id": "10",
        "type": "Item",
        "attributes": {
            "ItemCode": "SALE",
            "Description": "Sale"
        },
        "links": {
            "self": "/api/v1/items/10"
        }
    }
}