Hi everyone!
I’d like to ask if I can set up one specific “value” for all pairs “key”=“value” in the body before sending Request.
My request body:
{
“shop_status”: “GOLD”,
“city”: “LA”,
“name”: “Beard Shop”
“offers”: [
{
“created_at”: “2020-04-15T15:14:03.548282Z”,
“offer_id”: “oof010329182”,
“amounr”: “320”,
},
{
“created_at”: “2020-04-02T15:14:03.548282Z”,
“offer_id”: “oof010329183”,
“amounr”: “180”,
},
{
“created_at”: “2020-04-01T15:14:03.548282Z”,
“offer_id”: “oof010329184”,
“amounr”: “750”,
}
}
I need to set up the one date for all “created_at” keys. How can I do it?
thanks, but this doesn’t work for me because I’m getting the Body for this request from the response of the other request. I need to create an universal solution for my question because I’m getting different bodies for different shops.