Open lojzatran opened 3 years ago
When there's setAttributeInAllVariants action, there's no need to add sku to the update action. https://docs.commercetools.com/http-api-projects-products#set-attribute-in-all-variants
setAttributeInAllVariants
Use delete action.sku to remove sku. Check if this is the only place where sku should be removed. https://github.com/sphereio/sphere-node-sdk/blob/master/src/coffee/sync/utils/product.coffee#L545
delete action.sku
Description
When there's
setAttributeInAllVariants
action, there's no need to add sku to the update action. https://docs.commercetools.com/http-api-projects-products#set-attribute-in-all-variantsPossible Solution
Use
delete action.sku
to remove sku. Check if this is the only place where sku should be removed. https://github.com/sphereio/sphere-node-sdk/blob/master/src/coffee/sync/utils/product.coffee#L545