{ "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/pricing_skus/SKU2", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"10f086dab8bf3ccd0cae76d6e3285a24\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "8913be0a-0e4d-403e-a2e7-345d8e9a6414", "X-Runtime": "0.031611", "Expires": "0", "Content-Length": "188" }, "request_method": "POST", "request_path": "/api/admin/pricing_skus", "request_body": "{\"pricing_sku\":{\"active\":true,\"created_at\":\"2019-08-21T21:55:14.768Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-21T21:55:14.768Z\",\"_id\":\"SKU2\"}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"pricing_sku\": {\n \"_id\": \"SKU2\",\n \"active\": true,\n \"created_at\": \"2019-08-21T21:55:14.768Z\",\n \"discountable\": true,\n \"msrp\": null,\n \"on_sale\": false,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-21T21:55:14.768Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/pricing_skus\" -d '{\"pricing_sku\":{\"active\":true,\"created_at\":\"2019-08-21T21:55:14.768Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-21T21:55:14.768Z\",\"_id\":\"SKU2\"}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Pricing SKUs", "description": "Creating an pricing SKU", "route": "/api/admin/pricing_skus", "http_method": "POST" }