{ "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/5f3d2cec0218236de151e99d", "Content-Type": "application/json; charset=utf-8", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 19 Aug 2020 13:45:16 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "3d7ef34d-994f-4bca-a31b-98724544b8a9", "X-Runtime": "0.013481", "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\":\"2020-08-19T13:45:16.348Z\",\"name\":\"Test 10\",\"rates\":[{\"_id\":\"5f3d2cec0218236de151e99a\",\"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\":\"2020-08-19T13:45:16.348Z\"}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"shipping_service\": {\n \"_id\": \"5f3d2cec0218236de151e99d\",\n \"carrier\": null,\n \"country\": null,\n \"created_at\": \"2020-08-19T13:45:16.348Z\",\n \"name\": \"Test 10\",\n \"rates\": [\n {\n \"_id\": \"5f3d2cec0218236de151e99a\",\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\": \"2020-08-19T13:45:16.348Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/shipping_services\" -d '{\"carrier\":null,\"country\":null,\"created_at\":\"2020-08-19T13:45:16.348Z\",\"name\":\"Test 10\",\"rates\":[{\"_id\":\"5f3d2cec0218236de151e99a\",\"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\":\"2020-08-19T13:45:16.348Z\"}' -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" }