{ "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": "adfac30e-e92e-4cfa-8b87-0074c782f6e8", "X-Runtime": "0.102598", "Expires": "0" }, "request_method": "PATCH", "request_path": "/api/admin/products/33B54B3D44/variants/5d5ecb17d4322a04dfbf7432", "request_body": "{\"variant\":{\"name\":\"Foo\"}}", "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/33B54B3D44/variants/5d5ecb17d4322a04dfbf7432\" -d '{\"variant\":{\"name\":\"Foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Variants", "description": "Updating a product variant", "route": "/api/admin/products/:product_id/variants/:id", "http_method": "PATCH" }