Log Guide

The Logs page offers detailed insights into API requests made by Shopify to the Smart Shipping Rates app for calculating shipping rates. It enables you to review, filter, and analyze shipping rate calculations and their respective responses.

Overview

This page lists all API requests with the following key details:

  • Destination Address: Displays the shop’s location and the destination zone (e.g., Domestic or International).
  • Requested Datetime: Indicates the date and time when the API request was made.
  • Duration: Shows the time taken to process the request (in milliseconds).
  • Shipping Rate: Displays the shipping rate calculated for the request.
  • Action: Provides access to more detailed logs by clicking the Detail link.

Features

Add Filter
  • Purpose: Use the date range filter to narrow down the logs to a specific time period.
  • How to Use:
    1. Click the Add Filter button at the top-left corner.
    2. Select a date range to specify the time period you want to review.
    3. Apply the filter to display logs within the selected date range.
Pagination

Navigate through multiple pages of logs using the pagination controls at the bottom of the table.

View Details

  • Purpose: Access comprehensive details for each API request.
  • How to Use:
    1. Click the Detail link in the Action column.
    2. Review detailed information about the request, including payload, response, and any errors if applicable.

Use Cases

  • Troubleshooting: Identify errors or unexpected results in shipping rate calculations.
  • Performance Monitoring: Monitor the response time (duration) of API requests.
  • Data Validation: Verify that shipping rates align with the configured rules.