You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.3/config-guide/cli/config-cli-subcommands-catalog-sync.md
+30-12Lines changed: 30 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -3,20 +3,43 @@ group: configuration-guide
3
3
title: Catalog Sync
4
4
---
5
5
6
-
Magento compiles catalog data into tables using indexers. This process is automatically [triggered by several events](https://docs.magento.com/user-guide/system/index-management-events.html), such as changes to a product's price or inventory levels. To allow some Magento services to use that catalog data, a catalog sync process runs hourly. The catalog sync process exports product data from the Magento server to SaaS serviceson an ongoing basis. For example, the [Product Recommendations](https://docs.magento.com/user-guide/marketing/product-recommendations.html) feature needs up-to-date catalog information so that it can accurately return recommendations with correct names, pricing, and availability. Use the command-line interface to trigger the catalog sync and reindex product data for consumption by SaaS services.
6
+
Adobe Commerce and Magento Open Source compiles catalog data into tables using indexers. This process is automatically [triggered by several events](https://docs.magento.com/user-guide/system/index-management-events.html), such as changes to a product's price or inventory levels. To allow some Commerce services to use that catalog data, a catalog sync process runs hourly. The catalog sync process exports product data from the Commerce server to Commerce services, which are deployed as SaaS, on an ongoing basis. For example, the [Product Recommendations](https://docs.magento.com/user-guide/marketing/product-recommendations.html) feature needs up-to-date catalog information so that it can accurately return recommendations with correct names, pricing, and availability. Use the command-line interface to trigger the catalog sync and reindex product data for consumption by Commerce services.
7
7
8
-
{:.bs-callout-info}
9
-
To use the catalog sync commands, you must have an [API key and a SaaS Data Space configured](https://docs.magento.com/user-guide/system/saas.html). If you do not have an API key and have not configured a SaaS Data Space, you can still reindex product data but that data will not be exported to SaaS services.
8
+
## Sync catalog data
10
9
11
-
The commands used to sync catalog data are part of the `magento/saas-export` package. See [Install and configure Product Recommendations]({{ site.baseurl }}/recommendations/install-configure.html) for more information.
10
+
To synchronize catalog data, you must have an [API key and a SaaS Data Space configured](https://docs.magento.com/user-guide/system/saas.html). If you do not have an API key and have not configured a SaaS Data Space, you can still reindex product data but that data will not be exported to Commerce services.
12
11
13
-
{:.bs-callout-info}
14
-
See the [user guide](https://docs.magento.com/user-guide/system/catalog-sync.html) to learn how to use the Catalog Sync dashboard in the Admin UI to observe and manage the Magento to SaaS syncing process.
12
+
The `saascatalog:resync` command is part of the `magento/saas-export` package. See [Install and configure Product Recommendations]({{ site.baseurl }}/recommendations/install-configure.html) for more information.
13
+
14
+
See the [user guide](https://docs.magento.com/user-guide/system/catalog-sync.html) to learn how to use the Catalog Sync dashboard in the Admin UI to observe and manage the Commerce to SaaS syncing process.
15
15
16
16
{:.bs-callout-info}
17
17
When you trigger a data resync from the command line, it can take up to an hour for the data to update.
18
18
19
-
The following command reindexes the product data from the Magento catalog and resyncs it to Magento SaaS services:
The following table explains this command’s parameters and descriptions.
26
+
27
+
|Parameter|Description|Required?|
28
+
|---| ---| ---|
29
+
|`feed`| Specifies which entity to resync, such as `products`|Yes|
30
+
|`no-reindex`| Resubmits the existing catalog data to Commerce services without reindexing. When this parameter is not specified, the command runs a full reindex before syncing data.|No|
31
+
32
+
The feed name can be one of the following:
33
+
34
+
-`products`-- Products in your catalog
35
+
-`categories`-- Categories in your catalog
36
+
-`variants`-- Product variations of a configurable product, such as color and size
37
+
-`productattributes`-- Product attributes such as `activity`, `gender`, `tops`, `bottoms`, and so on
38
+
-`productoverrides`-- Customer-specific pricing and catalog visibility rules, such as those based on category permissions
39
+
40
+
### Examples
41
+
42
+
The following example reindexes the product data from the Commerce catalog and resyncs it to Commerce services:
20
43
21
44
```bash
22
45
bin/magento saascatalog:resync --feed products
@@ -27,8 +50,3 @@ If you do not want to run a full reindex of the products, you can instead sync t
|`feed`|(Required) Specifies which entity to resync, such as `products`|
34
-
|`no-reindex`|(Optional) Resubmits the existing catalog data to the SaaS service without reindexing. When this parameter is not specified, the command runs a full reindex before syncing data.|
0 commit comments