Pipedrive Oauth

Links

    Pipedrive Oauth API

    Getting access, Developing, Testing

    Back to Pipedrive Oauth

    Update a product

    Updates product data.

    Input

    type: object properties: parameters: type: object properties: id: type: integer description: The ID of the product required: - id data: title: addProductRequest type: object required: - name properties: name: type: string description: The name of the product code: type: string description: The product code unit: type: string description: The unit in which this product is sold tax: type: number description: The tax percentage default: 0 active_flag: description: Whether this product will be made active or not title: numberBooleanDefault1 type: number default: 1 enum: - 0 - 1 selectable: description: Whether this product can be selected in deals or not title: numberBooleanDefault1 type: number default: 1 enum: - 0 - 1 visible_to: type: string description: >- The visibility of the product. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href="https://support.pipedrive.com/en/article/visibility-groups" target="_blank" rel="noopener noreferrer">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style="width: 40px">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style="width: 40px">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><tr><td>`3`</td><td>Owner's visibility group</td></tr><tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr><tr><td>`7`</td><td>Entire company</td></tr></table> enum: - '1' - '3' - '5' - '7' owner_id: type: integer description: >- The ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used. prices: type: array description: >- An array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, a default price of 0 and a default currency based on the company's currency will be assigned. items: type: object

    Output

    title: updateProductResponse200 type: object properties: success: type: boolean description: If the response is successful or not data: type: object properties: id: type: number description: The ID of the product name: type: string description: The name of the product code: type: string description: The product code unit: type: string description: The unit in which this product is sold tax: type: number description: The ax percentage default: 0 active_flag: description: Whether this product is active or not title: numberBooleanDefault1 type: number default: 1 enum: - 0 - 1 selectable: description: Whether this product is selected in deals or not title: numberBooleanDefault1 type: number default: 1 enum: - 0 - 1 visible_to: description: Visibility of the product type: string enum: - '1' - '3' - '5' - '7' owner_id: type: object description: Information about the Pipedrive user who owns the product prices: type: object description: >- Object of objects, each containing: currency (string), price (number), cost (number, optional), overhead_cost (number, optional) related_objects: type: object properties: user: type: object properties: USER_ID: type: object title: userDataWithId description: The ID of the user properties: id: type: integer description: The ID of the user name: type: string description: The name of the user email: type: string description: The email of the user has_pic: type: integer description: >- Whether the user has picture or not. 0 = No picture, 1 = Has picture. pic_hash: type: string nullable: true description: The user picture hash active_flag: type: boolean description: Whether the user is active or not deal: type: object properties: DEAL_ID: type: object description: The ID of the deal which is associated with the item properties: id: type: integer description: The ID of the deal associated with the item title: type: string description: The title of the deal associated with the item status: type: string description: The status of the deal associated with the item value: type: number description: The value of the deal that is associated with the item currency: type: string description: The currency of the deal value stage_id: type: integer description: The ID of the stage the deal is currently at pipeline_id: type: integer description: The ID of the pipeline the deal is in person: type: object properties: PERSON_ID: type: object description: The ID of the person associated with the item properties: id: type: integer description: The ID of the person associated with the item name: type: string description: The name of the person associated with the item email: type: array description: The emails of the person associated with the item items: type: object properties: label: type: string description: The type of the email value: type: string description: The email of the associated person primary: type: boolean description: Whether this is the primary email or not phone: type: array description: The phone numbers of the person associated with the item items: type: object properties: label: type: string description: The type of the phone number value: type: string description: The phone number of the person associated with the item primary: type: boolean description: Whether this is the primary phone number or not owner_id: type: integer description: >- The ID of the owner of the person that is associated with the item organization: type: object properties: ORGANIZATION_ID: type: object description: The ID of the organization associated with the item properties: id: type: integer description: The ID of the organization associated with the item name: type: string description: The name of the organization associated with the item people_count: type: integer description: >- The number of people connected with the organization that is associated with the item owner_id: type: integer description: >- The ID of the owner of the organization that is associated with the item address: type: string description: The address of the organization cc_email: type: string description: The BCC email of the organization associated with the item