Sha256: 1355c776bb5837af6c133fb7792ca85ac023ab04cab3fd03cf9c67f111674b7d

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

{
  "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": "a02ffeb0-9f61-4f64-82e4-0ecd12ac44e6",
        "X-Runtime": "0.071951",
        "Expires": "0"
      },
      "request_method": "PATCH",
      "request_path": "/api/admin/products/7972BEC196/variants/5d5dbd0cd4322a4b69d78c02",
      "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/7972BEC196/variants/5d5dbd0cd4322a4b69d78c02\" -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"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-api-4.4.6 doc/api/admin/variants/updating_a_product_variant.json