cancel
Showing results for 
Search instead for 
Did you mean: 

after update get old data for 5-10 min

after update get old data for 5-10 min

hi all 

 

I am create an an admin app that user can update and use all the API of Magentoo 

but I have a problem:

1. first I am login to Magento to get token use this API 

/rest/V1/integration/customer/token

with user and password (all is OK in this step) 

2. I am add new address by:

for get the custumer object
(get request)
/rest/V1/customers/me

I am add new CustomAddress to list without ID

3. I am update the customer using 

put request
/rest/V1/customers/me

4. now wen I call again to 

(get request)
/rest/V1/customers/me

I an getting  the old data without the new address. 

if I wait 5 - 10 min and call it again I get the new data. 

 

I try to find the problem but without success (in the web site I see the new data after a sec)  

 

pls help me to understand what I messing