# VERY new to Square - API Log Old version

**URL:** <https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047>\
**Category:** Questions\
**Created:** [May 24, 2022, 5:16pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047 "2022-05-24T17:16:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Georgeb51](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@Georgeb51](https://developer.squareup.com/forums/u/Georgeb51)\
**Post date:** [May 24, 2022, 5:16pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047/1 "2022-05-24T17:16:16Z")

</div>

RetrieveLocation version is 2021-05-13 the docs state it’s an old version how do i change

![image](https://global.discourse-cdn.com/square/original/2X/0/087e995b31f64e7e7439fbd9697c6a30a66f3666.png)

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [May 24, 2022, 5:31pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047/2 "2022-05-24T17:31:09Z")

</div>

👋 If you want to change the API version you’re calling you’ll need to change it in the app you created in the [Developer Dashboard](https://developer.squareup.com/apps) by doing the following:

- Click `Open` on the app your using
- Make sure you’re on the environment you want to update. For example Sandbox or Production
- Scroll to the bottom of the page and select the API version you’d like to target.  
🙂

---

<div class="post-metadata">

**Author:** ![Georgeb51](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@Georgeb51](https://developer.squareup.com/forums/u/Georgeb51)\
**Post date:** [May 24, 2022, 5:46pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047/3 "2022-05-24T17:46:40Z")

</div>

Interesting the api version in that location says version 2022-05-12 but the log for location retrieve says 2021-05-13.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [May 24, 2022, 5:57pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047/4 "2022-05-24T17:57:28Z")

</div>

Are you using our SDKs? If so what version are you using. If so the SDK is setting the `Square-Version` in the header of the request which is overriding what’s set in the application. 🙂

---

<div class="post-metadata">

**Author:** ![Georgeb51](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@Georgeb51](https://developer.squareup.com/forums/u/Georgeb51)\
**Post date:** [May 24, 2022, 6:11pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047/5 "2022-05-24T18:11:23Z")

</div>

WebPaymentsSdkUrl = “[https://sandbox.web.squarecdn.com/v1/square.js](https://sandbox.web.squarecdn.com/v1/square.js)”

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [May 24, 2022, 6:41pm UTC](https://developer.squareup.com/forums/t/very-new-to-square-api-log-old-version/6047/6 "2022-05-24T18:41:56Z")

</div>

That’s the path to the JS library for the Web Payments SDK. In the above screenshot it says your using our [Dot NET SDK](https://github.com/square/square-dotnet-sdk). That’s what’s setting the Square version. 🙂
