{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "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", "Location": "/api/admin/users/5f3d2e330218236de151f751/saved_addresses", "Content-Type": "application/json; charset=utf-8", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 19 Aug 2020 13:50:43 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "524c1a3e-59cb-4fa5-bb94-a63eb7de448a", "X-Runtime": "0.087765", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "397" }, "request_method": "POST", "request_path": "/api/admin/users/5f3d2e330218236de151f751/saved_addresses", "request_body": "{\"saved_address\":{\"first_name\":\"Ben\",\"last_name\":\"Crouse\",\"street\":\"22 S. 3rd St.\",\"city\":\"Philadelphia\",\"region\":\"PA\",\"postal_code\":\"19106\",\"country\":\"US\",\"phone_number\":\"2159251800\"}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"saved_address\": {\n \"_id\": \"5f3d2e330218236de151f755\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": \"2020-08-19T13:50:43.322Z\",\n \"first_name\": \"Ben\",\n \"last_billed_at\": null,\n \"last_name\": \"Crouse\",\n \"last_shipped_at\": null,\n \"phone_extension\": null,\n \"phone_number\": \"2159251800\",\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": null,\n \"updated_at\": \"2020-08-19T13:50:43.322Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/users/5f3d2e330218236de151f751/saved_addresses\" -d '{\"saved_address\":{\"first_name\":\"Ben\",\"last_name\":\"Crouse\",\"street\":\"22 S. 3rd St.\",\"city\":\"Philadelphia\",\"region\":\"PA\",\"postal_code\":\"19106\",\"country\":\"US\",\"phone_number\":\"2159251800\"}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Saved Addresses", "description": "Creating a saved address", "route": "/api/admin/users/:user_id/saved_addresses", "http_method": "POST" }