Get all products

GET {{baseUrl}}/products?user_id=<integer>&filter_id=<integer>&ids=<integer>&ids=<integer>&first_char=<string>&get_summary=<boolean>&start=0&limit=<integer>

Returns data about all products.

Request Params

KeyDatatypeRequiredDescription
user_idstringIf supplied, only products owned by the given user will be returned
filter_idstringThe ID of the filter to use
idsstringAn array of integers with the IDs of the products that should be returned in the response
idsstringAn array of integers with the IDs of the products that should be returned in the response
first_charstringIf supplied, only products whose name starts with the specified letter will be returned (case-insensitive)
get_summarystringIf supplied, the response will return the total numbers of products in the additional_data.summary.total_count property
startnumberPagination start
limitstringItems shown per page

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:1,&quot;name&quot;:&quot;Mechanical Pencil&quot;,&quot;code&quot;:&quot;MPENCIL&quot;,&quot;description&quot;:null,&quot;unit&quot;:&quot;&quot;,&quot;tax&quot;:0,&quot;category&quot;:null,&quot;active_flag&quot;:true,&quot;selectable&quot;:true,&quot;first_char&quot;:&quot;m&quot;,&quot;visible_to&quot;:&quot;3&quot;,&quot;owner_id&quot;:{&quot;id&quot;:10100010,&quot;name&quot;:&quot;Test User&quot;,&quot;email&quot;:&quot;example@test.com&quot;,&quot;has_pic&quot;:true,&quot;pic_hash&quot;:&quot;5df5332929fab76702207f38b29a5d88&quot;,&quot;active_flag&quot;:true,&quot;value&quot;:10100010},&quot;files_count&quot;:null,&quot;add_time&quot;:&quot;2019-12-19 11:36:49&quot;,&quot;update_time&quot;:&quot;2019-12-19 11:36:49&quot;,&quot;billing_frequency&quot;:&quot;weekly&quot;,&quot;billing_frequency_cycles&quot;:null,&quot;prices&quot;:[{&quot;id&quot;:1,&quot;product_id&quot;:1,&quot;price&quot;:5,&quot;currency&quot;:&quot;EUR&quot;,&quot;cost&quot;:2,&quot;overhead_cost&quot;:3,&quot;notes&quot;:&quot;this is a note&quot;}]}],&quot;additional_data&quot;:{&quot;pagination&quot;:{&quot;start&quot;:0,&quot;limit&quot;:50,&quot;next_start&quot;:25,&quot;more_items_in_collection&quot;:true},&quot;summary&quot;:{&quot;total_count&quot;:&quot;35&quot;}},&quot;related_objects&quot;:{&quot;user&quot;:{&quot;10100010&quot;:{&quot;id&quot;:10100010,&quot;name&quot;:&quot;Test User&quot;,&quot;email&quot;:&quot;example@test.com&quot;,&quot;has_pic&quot;:true,&quot;pic_hash&quot;:&quot;5df5332929fab76702207f38b29a5d88&quot;,&quot;active_flag&quot;:true}}}}