Move Variants to New Product

View as Markdown
Creates a new product and moves existing variants from their current products into it. Provide the new product details and variant IDs.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token

OR
AuthorizationBearer
OAuth2 authentication using JWT tokens

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
categoryobjectOptional
created_ondatetimeOptional
idlongOptional
namestring or nullOptional
sub_categoryobjectOptional
taxonomyobjectOptional
typestring or nullOptional
updated_ondatetime or nullOptional
user_idlongOptional
variantslist of objects or nullOptional

Errors

400
Bad Request Error
404
Not Found Error