POST /V1/configurable-products/:sku/child
POST /V1/configurable-products/:sku/child is a Magento 2 REST endpoint in the ConfigurableProduct module. Requires an admin Bearer token with ACL Magento_Catalog::products.
Last verified: against Magento 2.4.9.
Returns
bool
Service contract
Magento\ConfigurableProduct\Api\LinkManagementInterface::addChild
Authorization
Admin Bearer token with ACL:
- Magento_Catalog::products
Path parameters
Body parameters
Example request
Auto-generated from the service contract — paste-ready against your store's /rest/default base. Replace the host, store code, ACL token, and any required values before running.
Headers
Path
/V1/configurable-products/{sku}/childBody
{
"childSku": ""
}Related in ConfigurableProduct
Other endpoints shipped by the same module.
/V1/configurable-products/:sku/children
Get all children for Configurable product
ConfigurableProduct · Magento\ConfigurableProduct\Api\LinkManagementInterface::getChildren
/V1/configurable-products/:sku/children/:childSku
Remove configurable product option
ConfigurableProduct · Magento\ConfigurableProduct\Api\LinkManagementInterface::removeChild
/V1/configurable-products/:sku/options
Save option
ConfigurableProduct · Magento\ConfigurableProduct\Api\OptionRepositoryInterface::save
/V1/configurable-products/:sku/options/:id
Remove option from configurable product
ConfigurableProduct · Magento\ConfigurableProduct\Api\OptionRepositoryInterface::deleteById
/V1/configurable-products/:sku/options/:id
Get option for configurable product
ConfigurableProduct · Magento\ConfigurableProduct\Api\OptionRepositoryInterface::get
/V1/configurable-products/:sku/options/:id
Save option
ConfigurableProduct · Magento\ConfigurableProduct\Api\OptionRepositoryInterface::save
Every Magento dev tool, in one hosted workspace.
Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.