{ "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/shipping_services/5dddc6601241594254075f8a", "Content-Type": "application/json; charset=utf-8", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 27 Nov 2019 00:42:08 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "bc3b3d67-00a6-4a82-a256-2ba8d161f74c", "X-Runtime": "0.012288", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "429" }, "request_method": "POST", "request_path": "/api/admin/shipping_services", "request_body": "{\"carrier\":null,\"country\":null,\"created_at\":\"2019-11-27T00:42:08.964Z\",\"name\":\"Test 33\",\"rates\":[{\"_id\":\"5dddc6601241594254075f87\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-11-27T00:42:08.964Z\"}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"shipping_service\": {\n \"_id\": \"5dddc6601241594254075f8a\",\n \"carrier\": null,\n \"country\": null,\n \"created_at\": \"2019-11-27T00:42:08.964Z\",\n \"name\": \"Test 33\",\n \"rates\": [\n {\n \"_id\": \"5dddc6601241594254075f87\",\n \"created_at\": null,\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": null\n }\n ],\n \"regions\": [\n\n ],\n \"service_code\": null,\n \"subtotal_max\": null,\n \"subtotal_min\": null,\n \"tax_code\": null,\n \"updated_at\": \"2019-11-27T00:42:08.964Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/shipping_services\" -d '{\"carrier\":null,\"country\":null,\"created_at\":\"2019-11-27T00:42:08.964Z\",\"name\":\"Test 33\",\"rates\":[{\"_id\":\"5dddc6601241594254075f87\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-11-27T00:42:08.964Z\"}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Shipping Services", "description": "Creating a shipping_service", "route": "/api/admin/shipping_services", "http_method": "POST" }