24 April 2024
Product catalogPricing and Discounts
To simplify the process of importing Embedded Prices and Product Variants, we have added the staged
field to EmbeddedPriceImport and ProductVariantImport. With this new staged
field you can control whether the imported data should be applied to the current and/or staged representation of the Product to update.
The staged
field replaces the publish
field, which is now deprecated and will be removed on 1 August 2024.
This change brings the Import API in line with the HTTP API by using the same fields for the same purpose. If you are using the publish
field to import Embedded Prices and Product Variants, you should use staged
instead and adjust the value based on your use case.
Changes:
- [API] Added
staged
to EmbeddedPriceImport. - [API] Added
staged
to ProductVariantImport. - [API] Deprecated
publish
field on EmbeddedPriceImport. - [API] Deprecated
publish
field on ProductVariantImport.