# How is data synced?
To understand how we sync your data between Shopify and Smaregi, please refer to the different event details below.
# Create Order
Event:
Create order in Smaregi
Smapify:
Create order in Shopify based the sales data from Smaregi, including details about the purchase such as items ordered.
Inventory levels in your primary store* will be updated based on the data from the sale, which will sync with the secondary store.
*Create order event in Shopify will be the same response as above.
# Refund an order in Shopify
Event:
Refund an order in Shopify
Smapify:
This creates a refund within Smaregi.
Inventory is changed depending on the refund policy used in Shopify and how restocking is configured for the refunded order:
- No restocking refund: if the refunded items are not marked to be restocked, there will be no impact on the inventory levels.
- Canceled refund: the refunded product, if selected to be restocked, will be put back into stock.
- Returned refunds: the refunded product, if selected to be restocked, will be put back into stock.
Event:
Refund an order in Smaregi
Smapify:
When a refund has been created on Smaregi, all refunded line items will also be refunded on the Shopify order.
# Create New Products
Event:
Create New Product on Shopify/Sumaregi
Smapify
Once a product has been created on either platform, the product listing information will synchronize between your Shopify and Smaregi stores so both stores have the product listing available. We suggest you add products mainly through your primary store*.
# Update Product
Event:
Update product listing
Smapify
The updated information will sync between your Smaregi and Shopify stores so both stores’ listings reflect the changes made.
# Delete Product
Event:
Delete an existing product
Smapify
# Update Inventory
Event:
Modify inventory levels manually (e.g. inputting new stock counts)
Smapify
You will need to change your inventory only through your primary store*. Making changes in your primary store will sync your inventory count to your secondary store. If you manually update your stock count through your secondary store instead, the primary store’s inventory count will overwrite the changes made on the secondary store.