Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 3.72 KB

AddProductAttachmentDetails.md

File metadata and controls

33 lines (30 loc) · 3.72 KB

# AddProductAttachmentDetails

Properties

Name Type Description Notes
product_id int The ID of the product [optional]
item_price float The price at which this product will be added to the deal [optional]
quantity int Quantity – e.g. how many items of this product will be added to the deal [optional]
discount float The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage [optional] [default to 0]
discount_type string The type of the discount's value [optional] [default to 'percentage']
duration float The duration of the product. If omitted, will be set to 1 [optional] [default to 1]
duration_unit string The type of the duration. (For example hourly, daily, etc.) [optional]
product_variation_id int The ID of the product variation to use. When omitted, no variation will be used [optional]
comments string A textual comment associated with this product-deal attachment [optional]
tax float The product tax [optional]
tax_method string 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 percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal [optional]
enabled_flag bool 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 as enabled by default [optional] [default to true]
billing_frequency \Pipedrive\Model\BillingFrequency [optional]
billing_frequency_cycles int Only available in Advanced and above plans The number of times the billing frequency repeats for a product in a deal When `billing_frequency` is set to `one-time`, this field must be `null` For all the other values of `billing_frequency`, `null` represents a product billed indefinitely Must be a positive integer less or equal to 312 [optional]
billing_start_date string Only available in Advanced and above plans The billing start date. Must be between 15 years in the past and 15 years in the future [optional]
id int The ID of the deal-product (the ID of the product attached to the deal) [optional]
company_id int The ID of the company [optional]
deal_id int The ID of the deal [optional]
sum float The sum of all the products attached to the deal [optional]
currency string The currency associated with the deal product [optional]
add_time string The date and time when the product was added to the deal [optional]
last_edit string The date and time when the deal product was last edited [optional]
active_flag bool Whether the product is active or not [optional]
name string The product name [optional]
product_attachment_id int The ID of the deal-product (the ID of the product attached to the deal) [optional]

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