{ "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", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "c7fc80d5-6f01-4c93-8bfd-ab392aa87919", "X-Runtime": "0.068570", "Expires": "0" }, "request_method": "PATCH", "request_path": "/api/admin/products/CEF609C107", "request_body": "{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-21T21:49:23.030Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-21T21:49:23.030Z\",\"variants\":[{\"_id\":\"5d5dbc63d4322a4b69d78220\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}", "request_content_type": "application/json", "response_status": 204, "response_status_text": "No Content", "response_body": null, "response_content_type": null, "curl": "curl \"https://www.example.com/api/admin/products/CEF609C107\" -d '{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-21T21:49:23.030Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-21T21:49:23.030Z\",\"variants\":[{\"_id\":\"5d5dbc63d4322a4b69d78220\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Products", "description": "Updating a product", "route": "/api/admin/products/:id", "http_method": "PATCH" }