younifyd
Menu

Update products/{sku}

Update products/{sku}

PUT/V1/products/{sku}

Use it in a workflow

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

Request

Path parameters

skustringrequired

Response

Returns 200 with an object. Read it in later steps with {{updateProductsSku.response.data.<field>}}.

idinteger

Id

skustring

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_attributesobject

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

website_idsarray<integer>
category_linksarray<object>3 fields
stock_itemobject27 fields

Interface StockItem

discountsarray<object>3 fields
bundle_product_optionsarray<object>8 fields
downloadable_product_linksarray<object>15 fields
downloadable_product_samplesarray<object>8 fields
giftcard_amountsarray<object>5 fields
configurable_product_optionsarray<object>8 fields
configurable_product_linksarray<integer>
product_linksarray<object>

Product links info

skustringrequired

SKU

link_typestringrequired

Link type

linked_product_skustringrequired

Linked product sku

linked_product_typestringrequired

Linked product type (simple, virtual, etc)

positionintegerrequired

Linked item position

extension_attributesobject1 fields

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

optionsarray<object>

List of product options

product_skustringrequired

Product SKU

option_idinteger

Option id

titlestringrequired

Option title

typestringrequired

Option type

sort_orderintegerrequired

Sort order

is_requirebooleanrequired

Is require

pricenumber

Price

price_typestring

Price type

skustring

Sku

file_extensionstring

File extension

max_charactersinteger

Max characters

image_size_xinteger

Image x size

image_size_yinteger

Image Y size

valuesarray<object>6 fields

Values

extension_attributesobject

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

media_gallery_entriesarray<object>

Media gallery entries

idinteger

Gallery entry ID

media_typestringrequired

Media type

labelstringrequired

Gallery entry alternative text

positionintegerrequired

Gallery entry position (sort order)

disabledbooleanrequired

If gallery entry is hidden from product page

typesarray<string>required

Gallery entry image types (thumbnail, image, small_image etc)

filestring

File path

contentobject3 fields

Image Content data interface

extension_attributesobject1 fields

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

tier_pricesarray<object>

List of product tier prices

customer_group_idintegerrequired

Customer group id

qtynumberrequired

Tier qty

valuenumberrequired

Price value

extension_attributesobject2 fields

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

custom_attributesarray<object>

Custom attributes values.

attribute_codestringrequired

Attribute code

valuestringrequired

Attribute value

json
{
  "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": false,
            "price": 0,
            "price_type": 0,
            "id": "string",
            "sku": "string",
            "option_id": 0,
            "qty": 0,
            "position": 0,
            "can_change_quantity": 0,
            "extension_attributes": {}
          }
        ],
        "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": 0,
            "extension_attributes": {}
          }
        ],
        "extension_attributes": {},
        "product_id": 0
      }
    ],
    "configurable_product_links": [
      0
    ]
  }
}

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