A Merchant products data synchronization.
Name | Type | Description | Notes |
---|---|---|---|
created_at | datetime | The create date-time. | [optional] [readonly] |
error_reason | str | Error that caused the synchronization to fail. | [optional] [readonly] |
has_errors | bool | Whether the sync encountered errors. | [optional] [readonly] |
id | int | The unique id. | [optional] [readonly] |
merchant_id | int | The parent Merchant id. | [readonly] |
modified_at | datetime | The last modified date-time. | [optional] [readonly] |
overall_products_in_kg | int | The overall amount of products available on KG after syncing. | [optional] [readonly] |
products_created | int | The number of created products | [optional] [readonly] |
products_deleted | int | The number of deleted products | [optional] [readonly] |
products_errored | int | The number of errored products | [optional] [readonly] |
products_skipped | int | The number of skipped products | [optional] [readonly] |
products_total | int | The total number of processed products, including the skipped and errored. | [optional] [readonly] |
products_unchanged | int | The number of products that haven't changed and therefore haven't been synced again | [optional] [readonly] |
products_updated | int | The number of update products | [optional] [readonly] |
started_at | datetime | The started date-time. | [optional] [readonly] |
stopped_at | datetime | The stopped date-time. | [optional] [readonly] |
synced_products_in_kg | int | The number of products synced by this process available in KG. | [optional] [readonly] |
synced_products_in_kg_before_cleanup | int | [optional] |
from wordlift_client.models.merchant_sync import MerchantSync
# TODO update the JSON string below
json = "{}"
# create an instance of MerchantSync from a JSON string
merchant_sync_instance = MerchantSync.from_json(json)
# print the JSON string representation of the object
print(MerchantSync.to_json())
# convert the object into a dict
merchant_sync_dict = merchant_sync_instance.to_dict()
# create an instance of MerchantSync from a dict
merchant_sync_from_dict = MerchantSync.from_dict(merchant_sync_dict)