> ## Documentation Index > Fetch the complete documentation index at: https://docs.restaurant365.com/llms.txt > Use this file to discover all available pages before exploring further. # Item by ID > Retrieves a specified purchase item **Security** The requesting user must have the following permission to retrieve a purchase item: - Food → Purchased Items → View Purchased Items ## OpenAPI ````json GET /public/v1/inventory/items/{id} { "openapi": "3.0.1", "info": { "title": "R365 Public API", "contact": { "name": "R365 Services Team", "email": "r365@restaurant365.com" }, "version": "1.0" }, "security": [ { "Bearer": [] } ], "paths": { "/public/v1/inventory/items/{id}": { "get": { "tags": [ "inventory" ], "summary": "Item by ID", "description": "Retrieves a specified purchase item\n\n**Security**\n\nThe requesting user must have the following permission to retrieve a purchase item:\n\n- Food → Purchased Items → View Purchased Items", "parameters": [ { "$ref": "#/components/parameters/TenantId" }, { "name": "id", "in": "path", "description": "The identifier of the purchase item", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "The purchase item entity", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PurchaseItem" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PurchaseItem" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PurchaseItem" } } } }, "400": { "description": "Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range." }, "401": { "description": "Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant." }, "403": { "description": "Forbidden — the caller lacks the permission required for this operation." }, "404": { "description": "Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired." }, "409": { "description": "Conflict — the request conflicts with the current state of the resource and cannot be applied." }, "422": { "description": "Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid." }, "429": { "description": "Too Many Requests — the caller has exceeded the rate limit; retry after a short delay." }, "500": { "description": "Internal Server Error — an unexpected error occurred while processing the request." } } } } }, "components": { "parameters": { "TenantId": { "name": "x-r365-context-tenant-id", "in": "header", "required": true, "description": "Identifies the R365 tenant the request applies to. Required on every request.", "schema": { "type": "string" } } }, "schemas": { "PurchaseItem": { "type": "object", "properties": { "id": { "type": "string", "description": "The unique identifier of the purchase item.", "format": "uuid" }, "name": { "type": "string", "description": "The name of the purchase item.", "nullable": true }, "number": { "type": "string", "description": "The number of the purchase item.", "nullable": true }, "isActive": { "type": "boolean", "description": "Indicates whether the purchase item is active." }, "costAccount": { "$ref": "#/components/schemas/GeneralLedgerAccountReference" }, "inventoryAccount": { "$ref": "#/components/schemas/GeneralLedgerAccountReference" }, "wasteAccount": { "$ref": "#/components/schemas/GeneralLedgerAccountReference" }, "donationAccount": { "$ref": "#/components/schemas/GeneralLedgerAccountReference" }, "costUpdateMethod": { "type": "string", "description": "The cost update method of the purchase item.", "nullable": true }, "description": { "type": "string", "description": "The description of the purchase item.", "nullable": true }, "reportingUnitOfMeasure": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "inventoryUnitOfMeasure": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "inventoryUnitOfMeasure2": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "inventoryUnitOfMeasure3": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "equivalenceEachUnitOfMeasure": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "equivalenceEachQuantity": { "type": "number", "description": "The equivalence quantity for the Each measure type.", "format": "double", "nullable": true }, "equivalenceWeightUnitOfMeasure": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "equivalenceWeightQuantity": { "type": "number", "description": "The equivalence quantity for the Weight measure type.", "format": "double", "nullable": true }, "equivalenceVolumeUnitOfMeasure": { "$ref": "#/components/schemas/InventoryUnitOfMeasureReference" }, "equivalenceVolumeQuantity": { "type": "number", "description": "The equivalence quantity for the Volume measure type.", "format": "double", "nullable": true }, "itemCategory1": { "$ref": "#/components/schemas/ItemCategoryReference" }, "itemCategory2": { "$ref": "#/components/schemas/ItemCategoryReference" }, "itemCategory3": { "$ref": "#/components/schemas/ItemCategoryReference" }, "isKeyItem": { "type": "boolean", "description": "Indicates whether the purchase item is a key item." }, "type": { "type": "string", "description": "The type of the purchase item.", "nullable": true, "readOnly": true }, "measureType": { "type": "string", "description": "The measure type of the purchase item.", "nullable": true }, "createdBy": { "$ref": "#/components/schemas/GlAccountUserReference", "description": "User who created the purchase item." }, "createdOn": { "type": "string", "description": "The time at which the record was created.", "format": "date-time" }, "modifiedBy": { "$ref": "#/components/schemas/GlAccountUserReference", "description": "User who last modified the purchase item." }, "modifiedOn": { "type": "string", "description": "The time at which the record was last modified.", "format": "date-time" } }, "additionalProperties": false, "description": "A purchase item." }, "GeneralLedgerAccountReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the general ledger account." }, "name": { "type": "string", "nullable": true, "description": "Display name of the general ledger account." }, "number": { "type": "string", "nullable": true, "description": "Number assigned to the general ledger account." } }, "additionalProperties": false, "description": "A reference to a General Ledger Account." }, "InventoryUnitOfMeasureReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the unit of measure." }, "name": { "type": "string", "nullable": true, "description": "Display name of the unit of measure." } }, "additionalProperties": false, "description": "A reference to a unit of measure." }, "ItemCategoryReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the item category." }, "name": { "type": "string", "nullable": true, "description": "Display name of the item category." } }, "additionalProperties": false, "description": "A reference to an item category." }, "GlAccountUserReference": { "type": "object", "properties": { "id": { "type": "string", "description": "The unique identifier of the user.", "format": "uuid" }, "name": { "type": "string", "description": "The name of the user.", "nullable": true } }, "additionalProperties": false, "description": "A reference to a user." } }, "securitySchemes": { "Bearer": { "type": "http", "scheme": "Bearer" } } } } ````