@@ -49,31 +49,31 @@ Then, the step is described by additional properties depending on its type and m
4949
5050The following data migration step modes are available:
5151
52- | ` type` | `create` | `update` | `delete` |
53- |------------------------|:--------:|:--------:|:--------:|
54- | `attribute` | ✔ | ✔ | ✔ |
55- | `attribute_group` | ✔ | ✔ | ✔ |
56- | `content_type` | ✔ | ✔ | ✔ |
57- | `content_type_group` | ✔ | ✔ | ✔ |
58- | `content` | ✔ | ✔ | ✔ |
59- | `currency` | ✔ | ✔ | ✔ |
60- | `customer_group` | ✔ | ✔ | ✔ |
61- | `language` | ✔ | | |
62- | `location` | | ✔ | |
63- | `object_state` | ✔ | | |
64- | `object_state_group` | ✔ | | |
65- | `payment_method` | ✔ | | |
66- | `product_asset` | ✔ | | |
67- | `product_availability` | ✔ | | |
68- | `product_price` | ✔ | | |
69- | `product_variant` | ✔ | | |
70- | `role` | ✔ | ✔ | ✔ |
71- | `section` | ✔ | ✔ | |
72- | `segment` | ✔ | ✔ | ✔ |
73- | `segment_group` | ✔ | ✔ | ✔ |
74- | `setting` | ✔ | ✔ | ✔ |
75- | `user` | ✔ | ✔ | |
76- | `user_group` | ✔ | ✔ | ✔ |
52+ | ` type` | `create` | `update` | `delete` | `swap` |
53+ |------------------------|:--------:|:--------:|:--------:|:--------:|
54+ | `attribute` | ✔ | ✔ | ✔ | |
55+ | `attribute_group` | ✔ | ✔ | ✔ | |
56+ | `content_type` | ✔ | ✔ | ✔ | |
57+ | `content_type_group` | ✔ | ✔ | ✔ | |
58+ | `content` | ✔ | ✔ | ✔ | |
59+ | `currency` | ✔ | ✔ | ✔ | |
60+ | `customer_group` | ✔ | ✔ | ✔ | |
61+ | `language` | ✔ | | | |
62+ | `location` | | ✔ | | ✔ |
63+ | `object_state` | ✔ | | | |
64+ | `object_state_group` | ✔ | | | |
65+ | `payment_method` | ✔ | | | |
66+ | `product_asset` | ✔ | | | |
67+ | `product_availability` | ✔ | | | |
68+ | `product_price` | ✔ | | | |
69+ | `product_variant` | ✔ | | | |
70+ | `role` | ✔ | ✔ | ✔ | |
71+ | `section` | ✔ | ✔ | | |
72+ | `segment` | ✔ | ✔ | ✔ | |
73+ | `segment_group` | ✔ | ✔ | ✔ | |
74+ | `setting` | ✔ | ✔ | ✔ | |
75+ | `user` | ✔ | ✔ | | |
76+ | `user_group` | ✔ | ✔ | ✔ | |
7777
7878# ## Repeatable steps
7979
@@ -308,6 +308,15 @@ The following example shows how to delete the `Contributor` Role:
308308[[= include_file('code_samples/data_migration/examples/delete_role.yaml') =]]
309309` ` `
310310
311+ # ## Locations
312+
313+ The following example shows how to swap content items assigned to given locations.
314+
315+ ` ` ` yaml
316+ [[= include_file('code_samples/data_migration/examples/swap_location.yaml') =]]
317+ ` ` `
318+
319+
311320# ## Users
312321
313322The following example shows how to create a user.
0 commit comments