how to set environment variable in postman from response body code example
Example 1: postman environment variables in body
{ "customer_id" : "{{cust_id}}" }
Example 2: postman environment variables
pm.environment.set("variable_key", "variable_value");