List catalog items
Changed onList the products and services you invoice often.
get/v2/invoices/catalog-items
Request
- Base URLhttps://api.slash.com
- URLhttps://api.slash.com/v2/invoices/catalog-items
- AuthAPI key in header X-API-Key
Query parameters
cursorstring
The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.
limitinteger
Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.
sort'createdAt' | 'name'
Field to order the page by. Each value has its own default direction, used unless sortDirection is passed. See Sorting.
- createdAt (default) — descending
- name — ascending
sortDirection'asc' | 'desc'
Direction of the ordering selected by sort. When omitted, each sort value uses its own default; see Sorting.
status'active' | 'archived'
Return only catalog items in this status.
searchstring
Match catalog items by name.
Response
A page of catalog items.
Example response
{
"items": [
{
"id": "cat_item_2rj4l7hmrrrcv",
"name": "Robot arm maintenance"
}
]
}Changes
- info
endpoint added
- info