Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- url: en-ae-stage.6tst.com
- method: PUT
- endpoint: /rest/V1/customers/me
- payload: {'customer': {'email': '[email protected]', 'firstname': 'Calin', 'lastname': 'Test5', 'gender': 1, 'website_id': 1, 'addresses': [{'country_id': 'AE', 'street': ['Test addrs'], 'telephone': '+971676767676', 'postcode': 'Abu Dhabi Beach', 'city': 'Abu Dhabi', 'firstname': 'Calin', 'lastname': 'Test'}, {'id': 133870, 'customer_id': 141133, 'region': {'region_code': None, 'region': None, 'region_id': 0}, 'country_id': 'BH', 'street': ['Dfsdfsd'], 'telephone': '+97367676767', 'postcode': 'Arad', 'city': 'Bahrain', 'firstname': 'Calin', 'lastname': 'Test'}, {'id': 134137, 'customer_id': 141133, 'region': {'region_code': None, 'region': None, 'region_id': 0}, 'country_id': 'OM', 'street': ['Sfsdfsd'], 'telephone': '+96826262626', 'postcode': 'Bahla', 'city': 'Bahla', 'firstname': 'Calin', 'lastname': 'Test'}, {'id': 134261, 'customer_id': 141133, 'region': {'region_code': None, 'region': None, 'region_id': 0}, 'country_id': 'KW', 'street': ['Dfsdfs'], 'telephone': '+96555554444', 'postcode': 'Abraq Khaitan', 'city': 'Kuwait City', 'firstname': 'Calin', 'lastname': 'Test'}, {'id': 134322, 'customer_id': 141133, 'region': {'region_code': None, 'region': None, 'region_id': 0}, 'country_id': 'QA', 'street': ['djwej'], 'telephone': '+97444445555', 'postcode': 'West Bay', 'city': 'Doha', 'firstname': 'Calin', 'lastname': 'Test'}, {'id': 134435, 'customer_id': 141133, 'region': {'region_code': None, 'region': None, 'region_id': 0}, 'country_id': 'AE', 'street': ['TEST'], 'telephone': '+971676767676', 'postcode': 'Al Dar Al Baida - B', 'city': 'Umm Al Quwain', 'firstname': 'CALIN', 'lastname': 'TEST'}]}}
- headers: {'Request-Source': 'MobileApp', 'content-type': 'application/json', 'Authorization': 'Bearer l2anyknuwzv6hug2imn1kyzb5s9euh84'}
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- <html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.12.2</center>\r\n</body>\r\n</html>\r\n'
Advertisement
Add Comment
Please, Sign In to add comment