Sha256: 28370f0a14808dd1d8bc66748a9a5bd5c46ae7b5ad33b9186c0e0aa7ad7b032a

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": "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"
}

Version data entries

1 entries across 1 versions & 1 rubygems

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