Create Product, Product Line Item
Last updated
Last updated
This tutorial should help you to Create Products (Upload Products to Pipeliner). Before moving forward, make sure your Authentication works and you understand the Key Concepts of the Pipeliner API, and make sure you know how to use API parameters
The Product represents the physical or virtual thing that your company sells. Product is usually defined by name, by SKU (unique identification, stock-keeping unit), and by some other properties like category, unit, etc. Products and their management can be found in Administration.
The Product Line item represents specific relation between Product & Opportunity. At the moment when the Product is linked with the opportunity, we call this relation Product Line Item. On this relation, your salespeople define the Price, Discounts of the Product. Product Line items can be found on Opportunities
Create new Products in Pipeliner with correct Product Properties like Product name, SKU, product category.
name
Name of the Account
allowed_pipelines
Select on which Opportunity Pipelines the product should be enabled. Use 1
for All Pipelines (recommended)
unit_symbol
The name of the unit of measure for the product. You can use custom values like pounds, hours, h, kgs , etc.
Product_category_id
It is optional to use the Product category when creating products. Product category helps to organize products to groups/product families with similar properties like (engines, wheels, etc.). Use the following reguest to retrieve ProductCategories
We are going to use Bulk create method to create more Products in the Pipeliner application at once.
Create Opportunity with Product Line items (Product Line Items). Set a correct Price, discount for each of the Product Line items.
Before jumping to this tutorial, you should already understand the process of creating Opportunities inside the Pipeliner Application. If you don´t, read Create Opportunity tutorial beforehand.
Working with Product Line items is supported by this Endpoint {{baseURL}}/entities/OpptyProductRelations/
We are going to use the Opportunity values that we prepared in the tutorial Create Opportunity. For Product Line items we need to specify a new attribute in the JSON body - product_relations.
This attribute represents the list of products that are going to be linked with the Newly created Opportunity and newly created products from the previous tutorial Products - Tutorial Assignment.
This is really helpful when your business calculates Opportunity Values only from Products on Opportunity. Then define an opportunity attribute "is_value_auto_calculate": true
When your sales team updates the pricelist frequently or you don´t know the actual price of the product, you can use Pricelist from Pipeliner to get the Prices automatically, by this opportunity attribute: "product_price_list_id": "id of product pricelist"
To get a product price list ID use this request
Create or update an batch of Products
data of new Product
Relation to CloudObject, see: 'updateCloudObjectInput' object for properties.
Integer enum value: 1 - All, 2 - Selected
1
Multi-line text input field.
"string"
Generic field wrapping sqlalchemy column, configurable by constructor. Good for one-of fields / generated fields.
"string"
Relation to single entity instance.
"01234567-abcd-dcba-ffff-000000000000"
Relation to single entity instance.
"01234567-abcd-dcba-ffff-000000000000"
Relation to single entity instance.
"01234567-abcd-dcba-ffff-000000000000"
Simple text input field.
"string"
Simple text input field.
"string"
Revision when entity was lastly changed.
1
Relations to Pipelines.
Configuration of Pipelines where the Product can be used.
Source url of picture. If filled url is loaded and checked content. Currently supports only pictures!!
"string"
ID of object to update.
Creation confirmation. Returns a list of created / updated Products
True when response succeeded, false on error.
true