# Return the API GET request based on the Woocommerce Order number

**URL:** <https://developer-forum.veeqo.com/t/return-the-api-get-request-based-on-the-woocommerce-order-number/544>\
**Category:** API Queries (How To)\
**Created:** [February 23, 2022, 12:49pm UTC](https://developer-forum.veeqo.com/t/return-the-api-get-request-based-on-the-woocommerce-order-number/544 "2022-02-23T12:49:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![catchfish](https://avatars.discourse-cdn.com/v4/letter/c/018950/32.png) [@catchfish](https://developer-forum.veeqo.com/u/catchfish)\
**Post date:** [February 23, 2022, 12:49pm UTC](https://developer-forum.veeqo.com/t/return-the-api-get-request-based-on-the-woocommerce-order-number/544/1 "2022-02-23T12:49:57Z")

</div>

I need to find how the Veeqo order number is linked to the Woocommerce order number and/or how we can return the API GET request (in Postman) based on the Woocommerce Order number.

For example, the url for Veeqo API would be like: [https://api.veeqo.com/orders/108654431](https://api.veeqo.com/orders/108654431)

This would return the Veeqo order number, which is a JSON object with key:value pair of “id”:“108654431”

The Woocommerce order number is also in the JSON object as a key:value pair eg. “number”:“67035”

I believe that the url path would need to be adjusted to something like [https://api.veeqo.com/number/67035](https://api.veeqo.com/number/67035) for this to work, but returns a 404 error in Postman.

The PUT request which is used to update the order works based on the Veeqo order number, but as the Veeqo order number is not saved/stored in WP, I can’t use this as a variable to pass into the script.

Does anyone know how this could be done?

Thanks
