Sha256: 970019197d3a7929ecc9a902f84bb2f5d4461051a2bced7111aed24581a0be4e
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
# TalonOne::AddItemCatalogAction ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **sku** | **String** | The unique SKU of the item to add. | **price** | **Float** | Price of the item. | [optional] **attributes** | [**Object**](.md) | The attributes of the item to add. | [optional] **product** | [**Product**](Product.md) | | [optional] **replace_if_exists** | **Boolean** | 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] ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::AddItemCatalogAction.new(sku: SKU1241028, price: 99.99, attributes: {"origin":"germany","color":"blue"}, product: null, replace_if_exists: false) ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
talon_one-7.0.0 | docs/AddItemCatalogAction.md |
talon_one-6.0.0 | docs/AddItemCatalogAction.md |
talon_one-5.0.0 | docs/AddItemCatalogAction.md |