younifyd
Menu

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

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

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

Use it in a workflow

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

Request

Path parameters

skustringrequired
optionIdintegerrequired

Response

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

product_skustring

Product SKU

option_idinteger

Option id

titlestring

Option title

typestring

Option type

sort_orderinteger

Sort order

is_requireboolean

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>

Values

titlestringrequired

Option title

sort_orderintegerrequired

Sort order

pricenumberrequired

Price

price_typestringrequired

Price type

skustring

Sku

option_type_idinteger

Option type id

extension_attributesobject

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

json
{
  "product_sku": "string",
  "title": "string",
  "type": "string",
  "sort_order": 0,
  "is_require": false,
  "option_id": 0,
  "price": 0,
  "price_type": "string",
  "sku": "string",
  "file_extension": "string",
  "max_characters": 0,
  "image_size_x": 0
}

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

Get products/{sku}/options/{optionId} — Adobe Commerce — Documentation