List
GET
/catalog-items
const url = 'https://example.com/catalog-items?search=example&category=example&includeArchived=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/catalog-items?search=example&category=example&includeArchived=example'Who can call it: Any signed-in member of the business.
curl -X GET "https://spine.example.com/api/catalog-items" \
-H "Cookie: better-auth.session_token=<session>"
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”search
required
string
category
required
string
includeArchived
required
string
Responses
Section titled “Responses”Validation failed or a business rule was broken; message says what to change.
No session, or it has expired: sign in again.
The caller’s role, Team rights or ownership don’t allow it, the module is switched off, or their access was removed.
No such record in this business.
The same Idempotency-Key is still being handled, or the record conflicts with one that exists.
Too many requests: wait a minute.
Something went wrong on the server; the response carries the request id to report.