younifyd
Menu

Get bundle-products/{sku}/options/{optionId}

Get bundle-products/{sku}/options/{optionId}

GET/V1/bundle-products/{sku}/options/{optionId}

Use it in a workflow

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

Request

Path parameters

skustringrequired
optionIdintegerrequired

Response

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

option_idinteger

Option id

titlestring

Option title

requiredboolean

Is required option

typestring

Input type

positioninteger

Option position

skustring

Product sku

product_linksarray<object>

Product links

idstring

The identifier

skustring

Linked product sku

option_idinteger

Option id

qtynumber

Qty

positioninteger

Position

is_defaultbooleanrequired

Is default

pricenumberrequired

Price

price_typeintegerrequired

Price type

can_change_quantityinteger

Whether quantity could be changed

extension_attributesobject

ExtensionInterface class for @see \Magento\Bundle\Api\Data\LinkInterface

extension_attributesobject

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

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

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