Check the request’s UTC boundaries, dates_are_gmt, and WordPress site time zone before changing the server or its system clock. If the API request and site settings are consistent, reproduce the case in a test environment and check the official WooCommerce issue and release notes before deciding whether a code or deployment change is justified.
This guide is for developers syncing WooCommerce orders with ERP, inventory, or other systems.
It also helps ecommerce operators managing Japanese storefronts and technical leads who need evidence before planning a migration or capacity change.
Last updated October 19, 2026. We checked the WooCommerce issue report, its associated change, and the official API and WordPress documentation linked below.
The response and the missing order
A successful HTTP response does not prove that a date-filtered result is complete. First separate two cases: the order is absent from the API response, or the API response contains it but your integration does not store or display it. They point to different parts of the path.
If an order appears in the WooCommerce dashboard but not in an API result, preserve the exact request and response before changing settings. Record the endpoint, filters, time boundary, response status, relevant response body, and the time shown for that order in the dashboard. Avoid copying customer details into an issue report or shared log; redact personal information.
| What you observe | What it suggests | What to check next |
|---|---|---|
| Dashboard shows the order; filtered API response does not | The date boundary, filter direction, or API query may exclude it | Compare the request timestamps with the order’s creation or modification time |
| API response includes the order; ERP or inventory does not | The API may have returned it successfully; the receiving integration may have dropped or skipped it | Check parsing, deduplication, persistence, and the saved sync cursor |
| The order appears after widening or removing the date filter | The date condition or its interpretation is relevant | Reproduce the original boundary in an isolated test |
| The result changes between repeated requests | The request, pagination, or data state may differ | Compare complete request parameters and page traversal |
Can the API return no matching orders even when the dashboard shows one? Yes. The dashboard view and a REST API request may use different date conditions. A successful response only reports the outcome of that request; it cannot establish that the filter captured every order you expected. The WooCommerce order-list endpoint documentation describes the endpoint and its available query parameters.
Keep the investigation narrow. Do not treat an empty filtered response as proof that the order was deleted, and do not immediately alter production order storage or records.
Time values and site settings
A timestamp with an explicit offset represents a particular instant. UTC is a common reference for exchanging timestamps, while WordPress can display dates using the configured site time zone. Those values may look different without referring to different moments.
| Value to compare | What it represents | Common source of confusion |
|---|---|---|
| Timestamp sent by the client | The boundary encoded in the API request | The client may construct local time but label it as UTC, or omit an offset |
| WordPress site time zone | The time zone configured for site-level date handling | A site may use a named region rather than a fixed offset |
| Time shown in the dashboard | A rendered date based on site settings and the record | It may not match the raw timestamp string character for character |
| Server operating-system clock | The host’s system time and synchronization state | Its displayed zone alone does not prove how the application interpreted an API filter |
For WordPress, check Settings → General → Timezone and note the selected value; do not change it just to make the dashboard resemble a client timestamp. WordPress documents the setting in its General Settings screen guide. At the code level, wp_timezone() returns the site’s configured time zone, while WordPress date-query behavior is described in the WP_Date_Query reference.
Can a difference between the site time zone and UTC cause an order to be missed? It can contribute when a client constructs a boundary in one zone and the API or query interprets it in another. A difference in displayed clocks alone is not proof of a defect. Compare the actual instant represented by each value, including its offset, then test the same request against a known test order.
For a local diagnostic, print values from the WordPress application rather than inferring them from the server’s shell setting:
$site_timezone = wp_timezone();
error_log( 'Site timezone: ' . $site_timezone->getName() );
error_log( 'Current site time: ' . wp_date( DATE_ATOM ) );
error_log( 'Current UTC time: ' . gmdate( DATE_ATOM ) );
The output will resemble:
Site timezone: Region/City
Current site time: [ISO 8601 timestamp with site offset]
Current UTC time: [ISO 8601 timestamp ending in Z]
This is an inspection example, not a recommendation to change the system clock. Remove temporary diagnostic logging after testing, and do not log credentials, access tokens, or customer data.
Date filters and dates_are_gmt
WooCommerce exposes date filters such as modified_after and modified_before, and documents dates_are_gmt as a parameter relevant to date handling. Check the exact parameter spelling, value, and boundary sent by the client against the REST API parameter documentation and the orders endpoint reference.
What does dates_are_gmt change? It affects how the relevant dates in a request are treated in relation to GMT. It is not a general switch that repairs every mismatch between a client, WordPress, and the operating system. Verify how your specific endpoint and request use it; do not assume that adding the parameter without checking the timestamp format resolves the issue.
WooCommerce’s official repository contains a report, opened on October 12, 2026, describing a particular UTC date-filtering problem when the site uses a non-UTC time zone. The report is evidence of a specific reproduction, not evidence that every WooCommerce version, site, or date-filter request is affected. The related pull request is useful for tracing a proposed or associated code change, but a pull request by itself does not prove that a fix has shipped in a release. Check the issue’s current status and the release notes for the version actually installed before drawing a conclusion.
When comparing the request and the order, keep the following details together:
- The direction of the filter: after, before, or both.
- Whether the submitted timestamp includes an explicit offset or uses UTC notation.
- The value of
dates_are_gmt, if supplied. - The order’s relevant creation or modification time as returned or displayed by the application.
- The site time zone recorded in WordPress settings.
The purpose is to identify a mismatch that can be reproduced, not to make every representation look identical. Do not infer a cause from a date string alone.
Sync cursors and client-side gaps
A sync process can advance its cursor even when an order was not saved successfully. It can also miss records through pagination mistakes, stale local state, or client-side filtering. These are not interchangeable with an API query defect.
| Evidence from the sync run | Likely area to inspect |
|---|---|
| The request excludes the order before it reaches the client | Filter boundaries, date interpretation, or API behavior |
| The response includes the order, but the local database does not | Client parsing, validation, deduplication, or write failure |
| The saved cursor moves past an order that was not persisted | Cursor update order and transaction handling |
| Only the first response page is processed | Pagination logic and termination conditions |
The WordPress REST API pagination guide explains how paginated responses are exposed through response headers. Check that the integration follows the pagination links or headers required by its endpoint rather than assuming that one response contains every match.
For each controlled run, retain a small, redacted record of the request parameters, response headers, relevant order identifiers, and cursor value before and after processing. Compare the request sent on the next run with the previous cursor. If the order is present in the API response, investigate the client path first; changing the host will not correct a parser or cursor bug.
A safe reproduction and decision path
Use a test environment and test orders you control. Do not switch production order storage, edit real order dates, or bulk-update customer records to make a suspected boundary issue disappear. A temporary test setup can help isolate the integration without changing live order handling; when evaluating that setup, see our guide to cloud test environment costs.
Follow this decision sequence:
- If the order is absent from both the dashboard and the API, verify that you are using the expected store, credentials, and order state before investigating date filtering.
- If the dashboard shows it but the filtered API response does not, preserve the request and compare the date boundaries, offset, filter direction,
dates_are_gmt, and site time zone. - If a controlled test reproduces the omission with the same request conditions, compare those conditions with the official issue and check whether a relevant change is included in your installed release.
- If the response contains the order but the integration loses it, inspect pagination, parsing, retries, deduplication, persistence, and cursor advancement.
- If the result changes only after modifying the request, keep the smallest confirmed parameter change and retest the adjacent date boundaries in the test environment.
- If neither the request nor the integration explains the behavior, collect a minimal reproduction and continue with the plugin, application, or hosting environment evidence; do not alter the production system clock as a guess.
This ordering helps distinguish a request-level problem from a client-side one before you make changes that affect live operations. After an adjustment, rerun the same test case and verify both the API response and the final record in the receiving system.
Server evidence and deployment choices
A REST API date-filter report alone does not show that the server is at fault. Include the server in the investigation only when there is separate evidence: for example, the application runtime reports inconsistent time data, the operating-system clock is not synchronized, or the issue changes across deployment environments while the same request and application code are held constant.
Check the relevant layer rather than changing everything at once. Compare the timestamp generated by WordPress with the host clock and a trusted time reference; review runtime and system logs; then repeat the same API request. Keep the WordPress site time zone, application date conversion, and operating-system time synchronization as separate checks. Changing the host’s configured time zone is not a substitute for correcting an API boundary or a WordPress setting.
Should you change the server time zone to fix missing API orders? Not without evidence that the host clock or runtime is wrong. A server time-zone change can affect other scheduled jobs and applications, while leaving an incorrect request boundary untouched. Fix the layer that the reproduction identifies, then verify the order flow again.
| Finding | Next action | Avoid |
|---|---|---|
| A request boundary or parameter explains the miss | Correct the integration’s date construction and retest | Reconfiguring the host without a server-time fault |
| The official issue matches, but release status is unclear | Check the installed version, issue activity, and release notes | Treating an open report or pull request as a released fix |
| The order is in the response but absent downstream | Repair and test client processing and cursor behavior | Migrating hosts before tracing the response |
| Independent runtime or clock evidence points to the host | Investigate that deployment layer and compare environments | Changing production settings without a rollback plan |
If the evidence eventually points to a resource or deployment constraint, reassess the hosting arrangement separately from the date-filter defect. Shared VPS or cloud instances can involve shared resource limits, variable performance under contention, and configuration boundaries that restrict control over the runtime. Those limitations matter when they are connected to measured symptoms; they do not explain an incorrectly constructed timestamp.
For a workload that needs dedicated capacity and stable long-term operation, renting an AMD bare-metal server may be more appropriate than continuing to tune a constrained shared environment. That is a deployment decision, not a WooCommerce API fix. Before moving, document the required operating system, application dependencies, access method, migration and rollback steps, and the test that will confirm order synchronization after cutover. If those checks identify a real hosting requirement, review snmpcloud deployment options before planning the change.
Dedicated AMD EPYC 7543P server from $467/month