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:
| Attribute | Type | Description |
|---|---|---|
| Description | string | The item description. |
| ItemCode | string | The item code. |
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.
Example GET (Return specific)
{
"data": {
"id": "10",
"type": "Item",
"attributes": {
"ItemCode": "SALE",
"Description": "Sale"
},
"links": {
"self": "/api/v1/items/10"
}
}
}