Update Variant
Update an existing variant with new details, including SKU, SKU status, description, pricing information, and option values
        PUT
    /items/{itemId}/variants/{variantId}
  
  curl \
 --request PUT 'https://stg.getfoundation.com/api/external/v1/items/{itemId}/variants/{variantId}' \
 --header "X-API-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"variant":{"parent_id":"9aa62446-c3b0-42f5-8027-3648daed9d73","parent_title":"Dog Collar","parent_product_code":"DC","description":"A beautiful red dog collar","sku":"DC-001-R","upc":"123456789012","msrp":99.99,"unit_price":49.99,"map":49.99,"moq":10,"quantity_multiplier":1,"options":[{"name":"Size","value":"Large"},{"name":"Material","value":"Leather"}],"sku_status":"active"}}'
    
        Request examples
  
  {
  "variant": {
    "parent_id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
    "parent_title": "Dog Collar",
    "parent_product_code": "DC",
    "description": "A beautiful red dog collar",
    "sku": "DC-001-R",
    "upc": "123456789012",
    "msrp": 99.99,
    "unit_price": 49.99,
    "map": 49.99,
    "moq": 10,
    "quantity_multiplier": 1,
    "options": [
      {
        "name": "Size",
        "value": "Large"
      },
      {
        "name": "Material",
        "value": "Leather"
      }
    ],
    "sku_status": "active"
  }
}
        Response examples (200)
  
  {
  "id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
  "parent_id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
  "parent_title": "Dog Collar",
  "parent_product_code": "DC",
  "title": "Large / Leather",
  "description": "A beautiful red dog collar",
  "sku": "DC-001-R",
  "upc": "123456789012",
  "msrp": 99.99,
  "unit_price": 49.99,
  "map": 49.99,
  "moq": 10,
  "quantity_multiplier": 1,
  "options": [
    {
      "name": "Size",
      "value": "Large"
    },
    {
      "name": "Material",
      "value": "Leather"
    }
  ],
  "sku_status": "active",
  "category_id": "string",
  "vendor_id": "string",
  "brand_id": "string",
  "category_name": "Toys",
  "vendor_name": "Acme Corp",
  "brand_name": "Acme Corp"
}
        Response examples (401)
  
  {
  "error": "string",
  "details": "string"
}
        Response examples (404)
  
  {
  "error": "string",
  "details": "string"
}
        Response examples (422)
  
  {
  "error": "string",
  "details": "string"
}