Update Product Variants

View as Markdown
Updates one or more product variants. The request body must be an array of variant objects. Each variant must include the variant ID, and only the fields provided will be updated.

Authentication

AuthorizationBearer

Authentication using Personal Access Token (PAT) token or OAuth2

Path parameters

productIdstringRequiredformat: "int64"

Request

This endpoint expects an object.
additional_hazmat_attributesobjectOptional
barcodeslist of objects or nullOptional
bundle_definitionlist of objects or nullOptional
channel_metadatalist of objects or nullOptional
customsobjectOptional
dimensionobjectOptional
fulfillment_settingsobjectOptional
gtinstring or nullOptional
idlongOptional
is_digitalbooleanOptional
lot_informationobjectOptional
namestring or nullOptional
packaging_material_type_idinteger or nullOptional
packaging_requirement_idinteger or nullOptional
return_preferencesobjectOptional
reviews_pendinglist of enums or nullOptional
skustring or nullOptional
statusenumOptional
upcstring or nullOptional
weightdoubleOptional

Response

Success