v1

latestOpenAPI 3.0.32026-07-24614422630.2 KB
Product Hierarchy (Beta)

Create or Update Product Hierarchy

Asynchronously creates or updates the product hierarchy for a 'DRAFT' version. This operation returns a request_id for tracking.

post/api/beta/version/{version_id}/product-hierarchy

Path parameters

version_idstring required

The identifier of the 'DRAFT' version.

Request body

nameOrSkustring

The SKU of the product/bundle or the name of the label.

type'PRODUCT' | 'BUNDLE' | 'LABEL'

The type of the hierarchy item.

mandatoryboolean

Whether the item is mandatory.

alternativeboolean

Whether the item is an alternative choice.

Response

Success. The update process has started.

request_idstring

The ID of the asynchronous request for tracking.