younifyd
Menu

Update configurable-products/variation

Update configurable-products/variation

PUT/V1/configurable-products/variation

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Update configurable-products/variation action (under Products).
  3. Fill in the fields below, then reference the result from later steps as {{updateConfigurableProductsVariation.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

productobjectrequired
idinteger

Id

skustringrequired

Sku

namestring

Name

attribute_set_idinteger

Attribute set id

pricenumber

Price

statusinteger

Status

visibilityinteger

Visibility

type_idstring

Type id

created_atstring

Created date

updated_atstring

Updated date

weightnumber

Weight

extension_attributesobject10 fields

ExtensionInterface class for @see \Magento\Catalog\Api\Data\ProductInterface

product_linksarray<object>6 fields

Product links info

optionsarray<object>15 fields

List of product options

media_gallery_entriesarray<object>9 fields

Media gallery entries

tier_pricesarray<object>4 fields

List of product tier prices

custom_attributesarray<object>2 fields

Custom attributes values.

optionsarray<object>required
idinteger
attribute_idstring
labelstring
positioninteger
is_use_defaultboolean
valuesarray<object>2 fields
extension_attributesobject

ExtensionInterface class for @see \Magento\ConfigurableProduct\Api\Data\OptionInterface

product_idinteger
json
{
  "product": {
    "sku": "string",
    "id": 0,
    "name": "string",
    "attribute_set_id": 0,
    "price": 0,
    "status": 0,
    "visibility": 0,
    "type_id": "string",
    "created_at": "string",
    "updated_at": "string",
    "weight": 0,
    "extension_attributes": {
      "website_ids": [
        0
      ],
      "category_links": [
        {
          "category_id": "string",
          "position": 0,
          "extension_attributes": {}
        }
      ],
      "stock_item": {
        "qty": 0,
        "is_in_stock": false,
        "is_qty_decimal": false,
        "show_default_notification_message": false,
        "use_config_min_qty": false,
        "min_qty": 0,
        "use_config_min_sale_qty": 0,
        "min_sale_qty": 0,
        "use_config_max_sale_qty": false,
        "max_sale_qty": 0,
        "use_config_backorders": false,
        "backorders": 0
      },
      "discounts": [
        {
          "discount_data": {
            "amount": 0,
            "base_amount": 0,
            "original_amount": 0,
            "base_original_amount": 0
          },
          "rule_label": "string",
          "rule_i_d": 0
        }
      ],
      "bundle_product_options": [
        {
          "option_id": 0,
          "title": "string",
          "required": false,
          "type": "string",
          "position": 0,
          "sku": "string",
          "product_links": [
            {
              "is_default": null,
              "price": null,
              "price_type": null,
              "id": null,
              "sku": null,
              "option_id": null,
              "qty": null,
              "position": null,
              "can_change_quantity": null,
              "extension_attributes": null
            }
          ],
          "extension_attributes": {}
        }
      ],
      "downloadable_product_links": [
        {
          "sort_order": 0,
          "is_shareable": 0,
          "price": 0,
          "link_type": "string",
          "sample_type": "string",
          "id": 0,
          "title": "string",
          "number_of_downloads": 0,
          "link_file": "string",
          "link_file_content": {
            "file_data": "string",
            "name": "string",
            "extension_attributes": {}
          },
          "link_url": "string",
          "sample_file": "string"
        }
      ],
      "downloadable_product_samples": [
        {
          "title": "string",
          "sort_order": 0,
          "sample_type": "string",
          "id": 0,
          "sample_file": "string",
          "sample_file_content": {
            "file_data": "string",
            "name": "string",
            "extension_attributes": {}
          },
          "sample_url": "string",
          "extension_attributes": {}
        }
      ],
      "giftcard_amounts": [
        {
          "attribute_id": 0,
          "website_id": 0,
          "value": 0,
          "website_value": 0,
          "extension_attributes": {}
        }
      ],
      "configurable_product_options": [
        {
          "id": 0,
          "attribute_id": "string",
          "label": "string",
          "position": 0,
          "is_use_default": false,
          "values": [
            {
              "value_index": null,
              "extension_attributes": null
            }
          ],
          "extension_attributes": {},
          "product_id": 0
        }
      ],
      "configurable_product_links": [
        0
      ]
    }
  },
  "options": [
    {
      "id": 0,
      "attribute_id": "string",
      "label": "string",
      "position": 0,
      "is_use_default": false,
      "values": [
        {
          "value_index": 0,
          "extension_attributes": {}
        }
      ],
      "extension_attributes": {},
      "product_id": 0
    }
  ]
}

Response

Returns 200 with a array<object>. Read it in later steps with {{updateConfigurableProductsVariation.response.data.<field>}}.

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.