# Store Product Logs ## List Store Product Logs **get** `/api/v2/public/products/stock/storeproductlogs` Retrieves a paginated list of store product log entries. ### Query Parameters - `article_number: optional string` Filter by product/article number. - `from_id: optional number` Filter entries with ID greater than or equal to this value. - `is_historic: optional boolean` When true, includes historic log entries. - `is_reviewed: optional boolean` When true, returns only reviewed entries. - `last_modified_date: optional string` Filter entries modified on or after this date (yyyy-MM-dd). - `page_size: optional number` The number of results per page. - `page_start: optional number` The page offset for pagination. - `reason_code: optional number` Filter by reason code. - `reference: optional string` Filter by reference value. - `review_status: optional number` Filter by review status. - `store_number: optional string` Filter by store number. - `to_id: optional number` Filter entries with ID less than or equal to this value. - `to_modified_date: optional string` Filter entries modified on or before this date (yyyy-MM-dd). ### Returns - `list: array of object { product_number, store_number, id, 42 more }` Collection of items for the current page. - `product_number: string` The product number. - `store_number: string` The store number. - `id: optional number` Unique log entry identifier. - `app_user_name: optional string` - `barcode: optional string` - `cost_center: optional string` - `counted_quantity: optional number` - `counting_assignment_id: optional number` - `counting_lines_remaining: optional number` - `counting_lines_remaining_stockpool: optional object { stock_pool_1, stock_pool_10, stock_pool_2, 7 more }` Breakdown of remaining counting lines per stock pool. - `stock_pool_1: optional number` - `stock_pool_10: optional number` - `stock_pool_2: optional number` - `stock_pool_3: optional number` - `stock_pool_4: optional number` - `stock_pool_5: optional number` - `stock_pool_6: optional number` - `stock_pool_7: optional number` - `stock_pool_8: optional number` - `stock_pool_9: optional number` - `created_on: optional string` - `customer_order_line_number: optional number` - `customer_order_number: optional string` - `customer_order_shipment_number: optional string` - `customer_order_shipment_number_line_number: optional number` - `expected_quantity: optional number` - `general_ledger_credit: optional string` - `general_ledger_debit: optional string` - `location: optional number` - `location_code: optional string` - `location_tag: optional string` - `moved_on: optional string` - `price: optional number` - `purchase_price: optional number` - `purchase_unit_quantity: optional number` - `quantity: optional number` - `reason_code: optional number` - `reason_code_description: optional string` - `reference: optional string` - `reference_id: optional number` - `review_status: optional string` - `source: optional string` - `stock_pool: optional string` - `stock_pool_1: optional number` - `stock_pool_10: optional number` - `stock_pool_2: optional number` - `stock_pool_3: optional number` - `stock_pool_4: optional number` - `stock_pool_5: optional number` - `stock_pool_6: optional number` - `stock_pool_7: optional number` - `stock_pool_8: optional number` - `stock_pool_9: optional number` - `store_products_price: optional number` - `updated_on: optional string` - `list_body: optional map[unknown]` Additional body-level metadata for the list. - `list_filters: optional map[array of string]` Active filter criteria applied to the result set, keyed by field name. - `next_page: optional number` Next page number, or null when on the last page. - `page_size: optional number` Maximum number of items returned per page. - `page_start: optional number` Current page number (1-based). - `previous_page: optional number` Previous page number, or null when on the first page. - `project_last_modified_date: optional string` Last modified date/time of the project. - `scroll_id: optional string` Opaque scroll identifier for deep-pagination scenarios. - `server_time: optional string` Server UTC date/time when the response was generated. - `sort_column: optional string` Column name the results are sorted by. - `sort_order: optional string` Sort direction. - `task_last_modified_date: optional string` Last modified date/time of the task. - `total_count: optional number` Total number of records matching the query across all pages. ### Example ```http curl https://api.colleqtive.net/api/v2/public/products/stock/storeproductlogs \ -H "Authorization: $COLLEQTIVE_BEARER_TOKEN" ``` ## Create Store Product Logs **post** `/api/v2/public/stores/{store_number}/products/stock/storeproductlogs` Creates store product log entries for a specific store. ### Path Parameters - `store_number: string` ### Query Parameters - `appUserName: optional string` The name of the app user performing the action. - `is_counted_quantity: optional boolean` Whether the quantities represent counted values. - `is_from_receipt: optional boolean` Whether the log entries originate from a receipt. ### Body Parameters - `storeproductlog: optional array of object { app_user_name, counted_quantity, customer_order_line_number, 25 more }` The list of store product log entries. - `app_user_name: optional string` - `counted_quantity: optional number` - `customer_order_line_number: optional number` - `customer_order_number: optional string` - `expected_quantity: optional number` - `location_code: optional string` - `loss_comment: optional string` - `loss_image: optional string` - `loss_order_number: optional string` - `modification_datetime: optional string` - `order_after_date: optional string` - `pool_location: optional number` - `product_number: optional string` The product number. - `quantity: optional number` - `reason_code: optional number` - `reference: optional string` - `scanned_datetime: optional string` - `source: optional string` - `stock_pool_1: optional number` - `stock_pool_10: optional number` - `stock_pool_2: optional number` - `stock_pool_3: optional number` - `stock_pool_4: optional number` - `stock_pool_5: optional number` - `stock_pool_6: optional number` - `stock_pool_7: optional number` - `stock_pool_8: optional number` - `stock_pool_9: optional number` ### Returns - `data: optional array of number` Array of items returned by the operation. - `message: optional string` Human-readable message describing the result. - `success: optional boolean` Indicates whether the operation completed successfully. ### Example ```http curl https://api.colleqtive.net/api/v2/public/stores/$STORE_NUMBER/products/stock/storeproductlogs \ -X POST \ -H "Authorization: $COLLEQTIVE_BEARER_TOKEN" ```