Skip to content

Conversation

@joshuatf
Copy link
Contributor

@joshuatf joshuatf commented Sep 8, 2025

This PR fixes the typo noted in #347 for the orders/ endpoint.

Testing

  1. Verify that the updated endpoint matches that of the docs - https://woocommerce.github.io/woocommerce-rest-api-docs/#retrieve-an-order
  2. Optionally test with the following snippet:
$woocommerce = new Client(
    'http://merchanturl.local',
    'consumer_key',
    'consumer_secret',
    [
        'wp_api'  => true,
        'version' => 'wc/v3',
    ]
);
$orders = $woocommerce->get('orders', ['status'=>'processing', 'per_page'=>1]);
print_r($orders);

@joshuatf joshuatf requested a review from a team September 8, 2025 16:43
@joshuatf joshuatf self-assigned this Sep 8, 2025
@joshuatf joshuatf requested review from prettyboymp and removed request for a team September 8, 2025 16:43
Copy link

@prettyboymp prettyboymp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joshuatf joshuatf merged commit 3b1491d into trunk Sep 10, 2025
2 of 9 checks passed
@joshuatf joshuatf mentioned this pull request Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants