Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.62 KB

File metadata and controls

34 lines (25 loc) · 1.62 KB

AddItemCatalogAction

The specific properties of the "ADD" catalog sync action.

Properties

Name Type Description Notes
sku str The unique SKU of the item to add.
price float Price of the item. [optional]
attributes object The attributes of the item to add. [optional]
product Product [optional]
replace_if_exists bool Indicates whether to replace the attributes of the item if the same SKU exists. Note: When set to `true`: - If you do not provide a new `price` value, the existing `price` value is retained. - If you do not provide a new `product` value, the `product` value is set to `null`. [optional] [default to False]

Example

from talon_one.models.add_item_catalog_action import AddItemCatalogAction

# TODO update the JSON string below
json = "{}"
# create an instance of AddItemCatalogAction from a JSON string
add_item_catalog_action_instance = AddItemCatalogAction.from_json(json)
# print the JSON string representation of the object
print(AddItemCatalogAction.to_json())

# convert the object into a dict
add_item_catalog_action_dict = add_item_catalog_action_instance.to_dict()
# create an instance of AddItemCatalogAction from a dict
add_item_catalog_action_from_dict = AddItemCatalogAction.from_dict(add_item_catalog_action_dict)

[Back to Model list] [Back to API list] [Back to README]