A textual comment associated with this product-deal attachment
discountnumber
The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage.
durationnumber
The duration of the product
quantitynumber
How many items of this product will be added to the deal
item_pricenumber
The price at which this product will be added to the deal
product_idinteger
The ID of the product to use
tax_methodstring
The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax pe…
enabled_flagboolean
Whether the product is enabled for a deal or not. This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked…
discount_typestring
The type of the discount"s value.
product_variation_idinteger
The ID of the product variation to use. When omitted, no variation will be used.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not