@@ -49,31 +49,31 @@ Then, the step is described by additional properties depending on its type and m
49
49
50
50
The following data migration step modes are available:
51
51
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` | ✔ | ✔ | ✔ | |
77
77
78
78
# ## Repeatable steps
79
79
@@ -308,6 +308,15 @@ The following example shows how to delete the `Contributor` Role:
308
308
[[= include_file('code_samples/data_migration/examples/delete_role.yaml') =]]
309
309
` ` `
310
310
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
+
311
320
# ## Users
312
321
313
322
The following example shows how to create a user.
0 commit comments