Shop Log Search

GET{{api_url}}/shop/log/search

Returns entries from the shop log. InfiPlex writes a shop log entry for channel calls, such as order pulls, tracking sends, and inventory sends, and for system processes, such as routing each line of an order to a warehouse. Filter by log type, search term, and date range, and page through results with limit and limit_start.

Use it to find out why orders didn't import from a channel, why tracking or inventory didn't reach a channel, or everything InfiPlex logged for one order.

Query parameters

ParameterTypeDescription
search_termstringText to search for in the log body, log_message. 104404 returns every entry whose log body contains 104404, such as the entries for InfiPlex order 104404.
log_typeintegerOnly return entries of this log type. Get IDs from Shop Log Type List.
start_datestringOnly return entries written on or after this date and time, in your account's time zone. Format: 2018-01-01 10:10:10 AM.
end_datestringOnly return entries written on or before this date and time, in your account's time zone. Format: 2018-01-01 10:10:10 AM.
sortstringSort expression, for example log_time ASC. Default: newest first.
limitintegerNumber of entries to return. Default and maximum: 100.
limit_startintegerNumber of entries to skip before returning results. Use it with limit to page: limit=100&limit_start=100 returns entries 101 through 200.
just_countintegerSet to 1 to return the total number of matching entries instead of the entries themselves.

Examples

Failed Amazon order pulls on September 22:

{{api_url}}/shop/log/search?log_type=1026&start_date=2026-09-22 12:00:00 AM&end_date=2026-09-22 11:59:59 PM&limit=100&limit_start=0

Everything logged for order 104404:

{{api_url}}/shop/log/search?search_term=104404&limit=100&limit_start=0

How order 104404's lines were routed to warehouses:

{{api_url}}/shop/log/search?search_term=104404&log_type=722&limit=100&limit_start=0

How many failed Amazon order pulls on September 22, without the entries:

{{api_url}}/shop/log/search?log_type=1026&start_date=2026-09-22 12:00:00 AM&end_date=2026-09-22 11:59:59 PM&just_count=1

Response

A JSON array, one object per entry. This is one routing entry from order 104404, with log_message shortened:

[
    {
        "shop_log_id": "1792",
        "log_time": "2026-09-23 09:22:17",
        "log_type": "722",
        "log_message": "{\"sku\":\"8100327394\",\"infiplex_order_id\":104404,\"order_ship_zip\":\"40219\",\"order_qty\":\"72\",\"process_events\":[{\"event\":\"Determine valid warehouses\",\"note\":\"All warehouses can be used\"}]}",
        "log_type_message": "InfiPlex Store: System Process Order Inventory"
    }
]
FieldDescription
shop_log_idThe log entry ID.
log_timeWhen the entry was written, in your account's time zone, formatted 2026-09-23 09:22:17.
log_typeThe log type ID.
log_type_messageThe log type label, the same text Shop Log Type List returns.
log_messageThe log body, the detail of the entry. For some log types this is a JSON-encoded string, such as the warehouse routing record in the example. Decode it before reading.

Before you build

  • search_term searches only the log body, log_message. To filter by type, use log_type.
  • Check log_type_message before parsing log_message. Some log types store JSON there as a string and others store plain text.
  • Numbers come back as strings. Convert them before doing math.
  • Log entries can be large. Narrow by log_type and a date range before paging through results.
  • log_time uses 24-hour YYYY-MM-DD HH:MM:SS, while start_date and end_date take 2018-01-01 10:10:10 AM.
  • For one order's routing record, Order Get Warehouse Routing Explanation returns it one entry per line from the order ID alone.
  • Your API key needs Log read permission. A key without it gets 403 Forbidden.

Related guides:

Authorization

Bearer token, sent in the Authorization header. Inherited from the collection.

Query Parameters

KeyValueDescription
search_term optional104404Your search term
sort optional
just_count optional
limit optional
limit_start optional
log_type optional
start_date optional
end_date optional

Example Request

curl --location --request GET '{{api_url}}/shop/log/search' \
--header 'Authorization: Bearer {{auth_token}}'

Example Responses

Shop Log Search

Request

curl --location --request GET '{{api_url}}/shop/setting/search?search_term=104404' \
--header 'Authorization: Bearer YOUR_API_KEY'

Response 200 OK

[
    {
        "shop_log_id": "1792",
        "log_time": "2026-09-23 09:22:17",
        "log_type": "722",
        "log_message": "{\"sku\":\"8100327394\",\"product_name_in_system\":\"Kntcky Drby\",\"infiplex_order_id\":104404,\"infiplex_product_id\":\"2261\",\"infiplex_sku_id\":null,\"order_ship_zip\":\"40219\",\"order_qty\":\"72\",\"forced_warehouse_id\":0,\"process_events\":[{\"event\":\"Determine valid warehouses\",\"note\":\"All warehouses can be used\"},{\"event\":\"Initial processing started\",\"note\":\"We are processing a parent product\"},{\"event\":\"Search for Item Warehouses\",\"note\":\"1 possible warehouse(s) found for item.\"},{\"event\":\"Valid Warehouse Found\",\"note\":\"Warehouse: Secondary Warehouse (West) being checked for processing inventory\",\"warehouseid\":\"4\",\"warehouse_identifier\":\"secondary\",\"child_events\":[{\"event\":\"Zip Code Rules\",\"note\":\"Not used for item. Warehouse will be used\"},{\"event\":\"Default Warehouse\",\"note\":\"This is the first valid warehouse found for item. If total ordered quantity can not be completely filled from all warehouses, this warehouse will be used to fill any 'unfulfillable' quantity.\",\"default_warehouseid\":\"4\",\"default_warehouse_name\":\"Secondary Warehouse (West)\",\"default_warehouse_identifier\":\"secondary\",\"default_bin_location\":null,\"default_drop_shipper_id\":null},{\"event\":\"Inventory Quantity Adjustment\",\"quantity_in_warehouse_before_process\":\"-2654\",\"quantity_to_process_at_warehouse\":0,\"quantity_left_to_process_from_ordered_amount\":\"72\",\"warehouseid\":\"4\",\"warehouse_name\":\"Secondary Warehouse (West)\",\"warehouse_identifier\":\"secondary\",\"bin_location\":null}]},{\"event\":\"Overflow Inventory Quantity Adjustment\",\"note\":\"Total ordered quantity could not be completely filled from all warehouses, the default warehouse (from Event: \\\"Default Warehouse\\\") is used to fill 'unfulfillable' quantity.\",\"quantity_to_process_at_warehouse\":-72,\"quantity_left_to_process_from_ordered_amount\":0,\"warehouseid\":\"4\",\"warehouse_name\":\"Secondary Warehouse (West)\",\"warehouse_identifier\":\"secondary\",\"bin_location\":null}]}",
        "log_type_message": "InfiPlex Store: System Process Order Inventory"
    },
    {
        "shop_log_id": "1791",
        "log_time": "2026-09-23 09:22:17",
        "log_type": "722",
        "log_message": "{\"sku\":\"8100327396\",\"product_name_in_system\":\"Kntkcy Drby\",\"infiplex_order_id\":104404,\"infiplex_product_id\":\"2260\",\"infiplex_sku_id\":null,\"order_ship_zip\":\"40219\",\"order_qty\":\"6\",\"forced_warehouse_id\":0,\"process_events\":[{\"event\":\"Determine valid warehouses\",\"note\":\"All warehouses can be used\"},{\"event\":\"Initial processing started\",\"note\":\"We are processing a parent product\"},{\"event\":\"Search for Item Warehouses\",\"note\":\"1 possible warehouse(s) found for item.\"},{\"event\":\"Valid Warehouse Found\",\"note\":\"Warehouse: Secondary Warehouse (West) being checked for processing inventory\",\"warehouseid\":\"4\",\"warehouse_identifier\":\"secondary\",\"child_events\":[{\"event\":\"Zip Code Rules\",\"note\":\"Not used for item. Warehouse will be used\"},{\"event\":\"Default Warehouse\",\"note\":\"This is the first valid warehouse found for item. If total ordered quantity can not be completely filled from all warehouses, this warehouse will be used to fill any 'unfulfillable' quantity.\",\"default_warehouseid\":\"4\",\"default_warehouse_name\":\"Secondary Warehouse (West)\",\"default_warehouse_identifier\":\"secondary\",\"default_bin_location\":null,\"default_drop_shipper_id\":null},{\"event\":\"Inventory Quantity Adjustment\",\"quantity_in_warehouse_before_process\":\"-3764\",\"quantity_to_process_at_warehouse\":0,\"quantity_left_to_process_from_ordered_amount\":\"6\",\"warehouseid\":\"4\",\"warehouse_name\":\"Secondary Warehouse (West)\",\"warehouse_identifier\":\"secondary\",\"bin_location\":null}]},{\"event\":\"Overflow Inventory Quantity Adjustment\",\"note\":\"Total ordered quantity could not be completely filled from all warehouses, the default warehouse (from Event: \\\"Default Warehouse\\\") is used to fill 'unfulfillable' quantity.\",\"quantity_to_process_at_warehouse\":-6,\"quantity_left_to_process_from_ordered_amount\":0,\"warehouseid\":\"4\",\"warehouse_name\":\"Secondary Warehouse (West)\",\"warehouse_identifier\":\"secondary\",\"bin_location\":null}]}",
        "log_type_message": "InfiPlex Store: System Process Order Inventory"
    },
    {
        "shop_log_id": "1790",
        "log_time": "2026-09-23 09:22:17",
        "log_type": "722",
        "log_message": "{\"sku\":\"8100327398\",\"product_name_in_system\":null,\"infiplex_order_id\":104404,\"infiplex_product_id\":\"2259\",\"infiplex_sku_id\":null,\"order_ship_zip\":\"40219\",\"order_qty\":\"24\",\"forced_warehouse_id\":0,\"process_events\":[{\"event\":\"Determine valid warehouses\",\"note\":\"All warehouses can be used\"},{\"event\":\"Initial processing started\",\"note\":\"We are processing a parent product\"},{\"event\":\"Search for Item Warehouses\",\"note\":\"1 possible warehouse(s) found for item.\"},{\"event\":\"Valid Warehouse Found\",\"note\":\"Warehouse: Secondary Warehouse (West) being checked for processing inventory\",\"warehouseid\":\"4\",\"warehouse_identifier\":\"secondary\",\"child_events\":[{\"event\":\"Zip Code Rules\",\"note\":\"Not used for item. Warehouse will be used\"},{\"event\":\"Default Warehouse\",\"note\":\"This is the first valid warehouse found for item. If total ordered quantity can not be completely filled from all warehouses, this warehouse will be used to fill any 'unfulfillable' quantity.\",\"default_warehouseid\":\"4\",\"default_warehouse_name\":\"Secondary Warehouse (West)\",\"default_warehouse_identifier\":\"secondary\",\"default_bin_location\":null,\"default_drop_shipper_id\":null},{\"event\":\"Inventory Quantity Adjustment\",\"quantity_in_warehouse_before_process\":\"-758\",\"quantity_to_process_at_warehouse\":0,\"quantity_left_to_process_from_ordered_amount\":\"24\",\"warehouseid\":\"4\",\"warehouse_name\":\"Secondary Warehouse (West)\",\"warehouse_identifier\":\"secondary\",\"bin_location\":null}]},{\"event\":\"Overflow Inventory Quantity Adjustment\",\"note\":\"Total ordered quantity could not be completely filled from all warehouses, the default warehouse (from Event: \\\"Default Warehouse\\\") is used to fill 'unfulfillable' quantity.\",\"quantity_to_process_at_warehouse\":-24,\"quantity_left_to_process_from_ordered_amount\":0,\"warehouseid\":\"4\",\"warehouse_name\":\"Secondary Warehouse (West)\",\"warehouse_identifier\":\"secondary\",\"bin_location\":null}]}",
        "log_type_message": "InfiPlex Store: System Process Order Inventory"
    }
]