# Automatically update certain mandatory fields

**URL:** <https://community.postman.com/t/automatically-update-certain-mandatory-fields/60996>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [May 14, 2024, 10:54am UTC](https://community.postman.com/t/automatically-update-certain-mandatory-fields/60996 "2024-05-14T10:54:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahinkoc](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sahinkoc](https://community.postman.com/u/sahinkoc)\
**Post date:** [May 14, 2024, 10:54am UTC](https://community.postman.com/t/automatically-update-certain-mandatory-fields/60996/1 "2024-05-14T10:54:12Z")

</div>

Hi Postman Community,

my json body contains values in certain fields that i have to change with every request - how can i automate these field updates without having to change them manually?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [May 14, 2024, 11:14am UTC](https://community.postman.com/t/automatically-update-certain-mandatory-fields/60996/2 "2024-05-14T11:14:22Z")

</div>

This type of activity is covered in the Postman Learning Centre.

If you are new to Postman, then I would suggest a visit to the Learning Centre.

[Overview | Postman Learning Center](https://learning.postman.com/docs/introduction/overview/)

Including the Postman Training links under “Other Resources”.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/3/b/3b763d56d66445f4c34eeb66c64631335559a741.png)

I would recommend the “Galaxy APIs 101” course first as it gets you used to the application features.

Then the “Galaxy Testing and Automation” course which teaches you how to assert the responses. It includes defining and using variables.

[Store and reuse values using variables | Postman Learning Center](https://learning.postman.com/docs/sending-requests/variables/variables/)

You also might want to consider the collection runner and data files.

> **[Using CSV and JSON Data Files in the Postman Collection Runner | Postman Blog](https://blog.postman.com/using-csv-and-json-files-in-the-postman-collection-runner/)**
>
>   Update: If you want to dip deeper into the Postman Collection Runner, check out this newer post about Postman’s Collection Runner....

[Run collections using imported data | Postman Learning Center](https://learning.postman.com/docs/collections/running-collections/working-with-data-files/)

---

<div class="post-metadata">

**Author:** ![sahinkoc](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@sahinkoc](https://community.postman.com/u/sahinkoc)\
**Post date:** [May 21, 2024, 7:00am UTC](https://community.postman.com/t/automatically-update-certain-mandatory-fields/60996/3 "2024-05-21T07:00:54Z")

</div>

Hi Mike,  
thanks for your feedback.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [June 20, 2024, 7:01am UTC](https://community.postman.com/t/automatically-update-certain-mandatory-fields/60996/4 "2024-06-20T07:01:17Z")

</div>

Closed on June 20, 2024, 7:01am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
