Skip to content

Commit 0101410

Browse files
committed
[Discounts] Added migration doc
1 parent f01c5f7 commit 0101410

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/content_management/data_migration/importing_data.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff 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

512526
When using `update` or `delete` modes, you can use criteria to identify the objects to operate on.

0 commit comments

Comments
 (0)