UiPath Documentation
industry-department-solutions
latest
false
Supply Chain & Retail Solutions user guide

Products dataset

Products dataset for the Commercial Pricing solution, containing product metadata required for pricing analysis, segmentation, and guardrail enforcement.

The Products dataset contains detailed metadata for products used in the commercial pricing solution. It defines the items being priced and provides attributes required for pricing analysis, segmentation, and guardrail enforcement.

This dataset is required for application deployment and pricing insights analysis.

→ For the canonical technical schema (data types, validation rules, request/response examples), see Product in the API Guide.

Purpose​

The solution uses the Products dataset to:

  • Identify products included in pricing analysis
  • Enable pricing evaluation at product and category levels
  • Support segmentation strategies (for example, bespoke vs standard products)
  • Ensure consistent product identifiers across pricing datasets

This dataset is foundational for both List Pricing and Quote Pricing use cases.

Required fields​

About the Constraint column: every field listed must be provided in your data. Non-null means its value cannot be null; Nullable means the value may be sent as null (or left blank in your source). Primary key, Unique, and Foreign key describe the field's role in the data model; a Primary key is always non-null.

FieldDescriptionTypeConstraint
product_idUnique identifier for each product.stringPrimary key
updated_atTimestamp when the record was updated.timestamp_tzPrimary key
bespoke_productWhether the product is bespoke (custom-made) or standard.booleanNullable
product_nameProduct name.stringNon-null
product_categoryProduct category.stringNullable
product_subcategoryProduct sub-category.stringNullable

Custom fields​

The fields listed previously are the standard schema for this dataset. A field that your business requires but the standard schema does not include can be added as a custom attribute after the schema is rolled out. Custom attributes are additive, so they extend the dataset without affecting existing fields, and they are validated in the same way as standard fields.

The following request adds a SUPPLIER_CODE column to this dataset:

curl -X POST \
  'https://ingestion.peak.ai/api/v2/schema/QP_PRODUCT_OOTB/add-attribute' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "QP_OOTB",
    "columnName": "SUPPLIER_CODE",
    "dataType": "string",
    "validations": [
      { "type": "optional" }
    ]
  }'
curl -X POST \
  'https://ingestion.peak.ai/api/v2/schema/QP_PRODUCT_OOTB/add-attribute' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "QP_OOTB",
    "columnName": "SUPPLIER_CODE",
    "dataType": "string",
    "validations": [
      { "type": "optional" }
    ]
  }'

The table name in the request URL is this dataset's fully qualified warehouse name, which includes the prefix and suffix configured when your solution was rolled out — QP_PRODUCT_OOTB in this example. Retrieve the name for your own solution with Describe a solution's schema.

On standard tables the API prefixes the new column name in the warehouse with C_ (Snowflake) or c_ (Redshift), so SUPPLIER_CODE becomes C_SUPPLIER_CODE and warehouse queries must use the prefixed name.

→ For the full parameter reference, supported data types, and validation rules, see Customizations in the API Guide.

Usage notes​

  • All products referenced in the List Price, Product Cost, Quote Line, and Sales datasets must exist in the Products dataset.
  • The product_id must be consistent across all related datasets.
  • The bespoke_product field supports differentiation between custom and standard products in pricing strategies.
  • Accurate categorization improves segmentation-based pricing recommendations.

Why this dataset matters​

The Products dataset defines the scope of pricing analysis. Without it, the solution cannot reliably join cost, quote, sales, and list price data or apply product-level pricing strategies.

  • Purpose​
  • Required fields​
  • Custom fields​
  • Usage notes​
  • Why this dataset matters​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated