{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json", "Authorization": "Token token=\"Ju5cZD3LZoXjiS1w3hBUV1cX\"" }, "request_query_parameters": { }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Content-Type": "application/json; charset=utf-8", "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 19 Aug 2020 13:58:25 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "aad44afa-e0c9-4de3-91ea-61be7d5a4ee2", "X-Runtime": "0.083366", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "377" }, "request_method": "PATCH", "request_path": "/api/storefront/saved_addresses/5f3d30010218236e938cfb64", "request_body": "{\"street\":\"4059 Mt Lee Dr.\",\"city\":\"Hollywood\",\"region\":\"CA\",\"postal_code\":\"90068\",\"phone_number\":\"7545552390\"}", "request_content_type": "application/json", "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"user_id\": \"5f3d30010218236e938cfb60\",\n \"url\": \"http://www.example.com/api/storefront/saved_addresses/5f3d30010218236e938cfb64\",\n \"id\": \"5f3d30010218236e938cfb64\",\n \"first_name\": \"Susan\",\n \"last_name\": \"Baker\",\n \"company\": null,\n \"street\": \"4059 Mt Lee Dr.\",\n \"street_2\": null,\n \"city\": \"Hollywood\",\n \"country\": \"US\",\n \"region\": \"CA\",\n \"postal_code\": \"90068\",\n \"phone_number\": \"7545552390\",\n \"phone_extension\": null\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/storefront/saved_addresses/5f3d30010218236e938cfb64\" -d '{\"street\":\"4059 Mt Lee Dr.\",\"city\":\"Hollywood\",\"region\":\"CA\",\"postal_code\":\"90068\",\"phone_number\":\"7545552390\"}' -X PATCH \\\n\t-H \"Content-Type: application/json\" \\\n\t-H \"Authorization: Token token=\\\"Ju5cZD3LZoXjiS1w3hBUV1cX\\\"\"" } ], "resource": "Saved Addresses", "description": "Updating a saved address", "route": "/api/storefront/saved_addresses/:id", "http_method": "PATCH" }