File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
docs/content_management/data_migration Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,20 @@ When updating a content type, use:
507507[[= include_file('code_samples/data_migration/examples/ai/action_configuration_delete.yaml') =]]
508508` ` `
509509
510+ # ## Discounts [[% include 'snippets/lts-update_badge.md' %]]
511+
512+ - The following example shows how you can create a new [discount](discounts_guide.md) in your system :
513+
514+ ` ` ` yaml
515+ [[= include_file('code_samples/data_migration/examples/discounts/discount_create.yaml') =]]
516+ ` ` `
517+
518+ - Use the `update` mode to modify an existing discount :
519+
520+ ` ` ` yaml
521+ [[= include_file('code_samples/data_migration/examples/discounts/discount_update.yaml') =]]
522+ ` ` `
523+
510524# # Criteria
511525
512526When using `update` or `delete` modes, you can use criteria to identify the objects to operate on.
You can’t perform that action at this time.
0 commit comments