Move Variants Between Products

View as Markdown
Moves variants from their current product to the target product specified in the path. Provide an array of variant IDs to move.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token or OAuth2

Path parameters

productIdstringRequiredformat: "int64"

Request

Migration definition
category_idinteger or nullOptional
namestring or nullOptional
product_idlongOptional
sub_category_idinteger or nullOptional
taxonomy_idinteger or nullOptional
variantslist of objects or nullOptional

Response

Created
categoryobject or null
created_ondatetime or null
idlong or null
namestring or null
sub_categoryobject or null
taxonomyobject or null
typestring or null
updated_ondatetime or null
user_idlong or null
variantslist of objects or null

Errors