{"openapi":"3.1.0","info":{"title":"Resonance Supply Admin REST API","summary":"Resonance Supply Admin API Routes that fall outside of GraphQL","version":"1.0.0"},"servers":[{"url":"https://api.supply.buildresonance.com","description":"Resonance Supply Admin Production API"}],"paths":{"/suppliers/{supplierId}/supplier-product-auto-completes":{"get":{"summary":"List SupplierProductAutoCompletes","description":"List suggested searches based on a prefix for SupplierProduct search","tags":["SupplierProductAutoComplete"],"parameters":[{"in":"path","name":"supplierId","summary":"The supplierId to search SupplierProducts for","schema":{"type":"string"},"required":true},{"in":"query","name":"query","summary":"The prefix to search for","schema":{"type":"string"},"required":true},{"in":"query","name":"first","summary":"first does not actually indicate number of results, but rather how many results the search DB will return, that will then get permutation treatment. Actual result amount will be random.","schema":{"type":"number","default":10},"required":false}],"responses":{"200":{"description":"SupplierProduct Auto-Completes","content":{"application/json":{"schema":{"type":"object","properties":{"supplierProductAutoCompletes":{"type":"array","items":{"type":"string","description":"SupplierProduct Auto-Completes. For a result of \"Old House on the Prairie\", it would return: \"Old\", \"Old House\", \"Old House on\", \"Old House on the\", \"Old House on the Prairie\" + \"House\", \"House on\", \"House on the\", \"House on the Prairie\" + \"on\", \"on the\", \"on the Prairie\" + \"the\", \"the Prairie\" + \"Prairie\""}}},"required":["supplierProductAutoCompletes"]},"example":{"supplierProductAutoCompletes":["test","test this","test this route"]}}}},"400":{"description":"Bad Request (Invalid Query Parameters)","content":{"text/plain":{"schema":{"type":"string"}}}}}}}}}