> ## 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. # Vendors > Retrieves a list of vendors **Security** The requesting user must have the following permission to retrieve vendors: - Accounts Payable → Vendors → View Vendors ## OpenAPI ````json GET /public/v1/inventory/vendors { "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/vendors": { "get": { "tags": [ "inventory" ], "summary": "Vendors", "description": "Retrieves a list of vendors\n\n**Security**\n\nThe requesting user must have the following permission to retrieve vendors:\n\n- Accounts Payable → Vendors → View Vendors", "parameters": [ { "$ref": "#/components/parameters/TenantId" }, { "name": "modifiedOnStart", "in": "query", "description": "Starting datetime of the 'modifiedOn' range (inclusive). May be supplied alone, in which case the range is open-ended at the upper bound.", "required": false, "schema": { "type": "string", "format": "date-time" } }, { "name": "modifiedOnEnd", "in": "query", "description": "Ending datetime of the 'modifiedOn' range (inclusive). May be supplied alone, in which case the range is open-ended at the lower bound.", "required": false, "schema": { "type": "string", "format": "date-time" } }, { "name": "pageSize", "in": "query", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 1, "maximum": 250, "default": 250 }, "description": "Maximum number of top-level objects to return in one page." }, { "name": "continuationToken", "in": "query", "description": "", "schema": { "type": "string" }, "required": false } ], "responses": { "200": { "description": "The list of vendors", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QueryContinuationResponseVendor" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QueryContinuationResponseVendor" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QueryContinuationResponseVendor" } } } }, "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": { "QueryContinuationResponseVendor": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Vendor" }, "nullable": true, "description": "Collection of query continuation response vendor records returned in this page." }, "nextLink": { "type": "string", "nullable": true, "description": "URL to retrieve the next page of results, or null when this is the last page." } }, "additionalProperties": false }, "Vendor": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the vendor." }, "name": { "type": "string", "nullable": true, "description": "Display name of the vendor." }, "number": { "type": "string", "nullable": true, "description": "Number assigned to the vendor." }, "comment": { "type": "string", "nullable": true, "description": "Free-text comment associated with the vendor." }, "createdBy": { "$ref": "#/components/schemas/InventoryUserReference", "description": "User who created the vendor." }, "createdOn": { "type": "string", "format": "date-time", "nullable": true, "description": "Timestamp when the vendor was created." }, "modifiedBy": { "$ref": "#/components/schemas/InventoryUserReference", "description": "User who last modified the vendor." }, "modifiedOn": { "type": "string", "format": "date-time", "nullable": true, "description": "Timestamp when the vendor was last modified." }, "address": { "$ref": "#/components/schemas/VendorAddress" } }, "additionalProperties": false }, "InventoryUserReference": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "Unique identifier of the user." }, "name": { "type": "string", "nullable": true, "description": "Display name of the user." } }, "additionalProperties": false }, "VendorAddress": { "type": "object", "properties": { "addressLine1": { "type": "string", "nullable": true }, "addressLine2": { "type": "string", "nullable": true }, "addressLine3": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "stateOrProvince": { "type": "string", "nullable": true }, "country": { "type": "string", "nullable": true }, "postalCode": { "type": "string", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "http", "scheme": "Bearer" } } } } ````