younifyd
Menu

Update products/{sku}/links

Update products/{sku}/links

PUT/V1/products/{sku}/links

Use it in a workflow

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

Request

Path parameters

skustringrequired

Request body

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

entityobjectrequired
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

json
{
  "entity": {
    "sku": "string",
    "link_type": "string",
    "linked_product_sku": "string",
    "linked_product_type": "string",
    "position": 0,
    "extension_attributes": {
      "qty": 0
    }
  }
}

Response

Returns 200 with a boolean. Read it in later steps with {{updateProductsSkuLinks.response.data.<field>}}.

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

Update products/{sku}/links — Adobe Commerce — Documentation