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

Product Pricing Daily

product_pricing_daily API resource representing daily pricing snapshots per product-location combination, including selling prices, costs, and list prices.

Overview​

The product_pricing_daily resource represents daily pricing snapshots for products at specific locations. This resource stores time-series pricing data including selling prices, costs, and list prices.

Resource Endpoint​

/api/v2/ingest/object/{prefix}PRODUCT_PRICING_DAILY{suffix}
/api/v2/ingest/object/{prefix}PRODUCT_PRICING_DAILY{suffix}

Supported Methods​

MethodReturn TypeDescription
POSTResponseIngest (create/update) daily pricing records via UPSERT operation

Request Headers​

HeaderRequiredDescription
AuthorizationYesYour Personal Access Token (PAT) from platform.peak.ai
Content-TypeYesMust be application/json

Properties​

Primary Keys​

  • location_id (string) - Foreign key reference to locations
  • pricing_at (timestamp) - Timestamp for the pricing snapshot
  • product_id (string) - Foreign key reference to products

Attributes​

About Required + Nullable: every attribute key must appear in each payload (Required: Yes). Nullable: Yes means the value can be null when you don't have data; Nullable: No means a non-null value is required. See Schema definition structure for the underlying rules.

AttributeData TypeRequiredNullableDescription
location_idstringYesNoLocation identifier (Primary Key, Foreign Key)
pricing_attimestampYesNoPricing snapshot timestamp (Primary Key)
product_idstringYesNoProduct identifier (Primary Key, Foreign Key)
selling_pricefloatYesNoCurrent selling price
unit_cost_pricefloatYesNoCost per unit
unit_list_pricefloatYesNoList price per unit
quote_stagestringYesYesPricing stage or lifecycle status
created_attimestampYesYesTimestamp when the record was created
updated_attimestampYesYesTimestamp when the record was last updated

Relationships​

Outbound References​

None

Inbound References​

  • product - Foreign key product_id references product
  • location - Foreign key location_id references location

JSON Representation​

{
  "solutionName": "MP_OOTB",
  "data": [
    {
      "location_id": "LOC-UK-001",
      "pricing_at": "2025-01-28T00:00:00Z",
      "product_id": "PROD-001",
      "selling_price": 199.99,
      "unit_cost_price": 120.00,
      "unit_list_price": 249.99,
      "quote_stage": "active",
      "created_at": "2025-01-28T01:00:00Z",
      "updated_at": "2025-01-28T10:00:00Z"
    }
  ],
  "operationType": "UPSERT"
}
{
  "solutionName": "MP_OOTB",
  "data": [
    {
      "location_id": "LOC-UK-001",
      "pricing_at": "2025-01-28T00:00:00Z",
      "product_id": "PROD-001",
      "selling_price": 199.99,
      "unit_cost_price": 120.00,
      "unit_list_price": 249.99,
      "quote_stage": "active",
      "created_at": "2025-01-28T01:00:00Z",
      "updated_at": "2025-01-28T10:00:00Z"
    }
  ],
  "operationType": "UPSERT"
}

Example Request​

curl -X POST \
  'https://ingestion.peak.ai/api/v2/objects/MP_PRODUCT_PRICING_DAILY_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "MP_OOTB",
    "data": [
      {
        "location_id": "LOC-UK-001",
        "pricing_at": "2025-01-28T00:00:00Z",
        "product_id": "PROD-001",
        "selling_price": 199.99,
        "unit_cost_price": 120.00,
        "unit_list_price": 249.99,
        "quote_stage": "active",
        "created_at": "2025-01-28T01:00:00Z",
        "updated_at": "2025-01-28T10:00:00Z"
      }
    ],
    "operationType": "UPSERT"
  }'
curl -X POST \
  'https://ingestion.peak.ai/api/v2/objects/MP_PRODUCT_PRICING_DAILY_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "MP_OOTB",
    "data": [
      {
        "location_id": "LOC-UK-001",
        "pricing_at": "2025-01-28T00:00:00Z",
        "product_id": "PROD-001",
        "selling_price": 199.99,
        "unit_cost_price": 120.00,
        "unit_list_price": 249.99,
        "quote_stage": "active",
        "created_at": "2025-01-28T01:00:00Z",
        "updated_at": "2025-01-28T10:00:00Z"
      }
    ],
    "operationType": "UPSERT"
  }'

Important Notes​

  • Foreign Key Dependencies: Requires valid product_id and location_id to exist in their respective tables
  • Time-Series Data: Captures daily pricing snapshots for trend analysis
  • Multi-Price Tracking: Stores selling price, cost, and list price for margin analysis
  • Location-Specific: Prices can vary by location
  • Custom Attributes: Additional custom attributes can be added using the /PRODUCT_PRICING_DAILY/add-attribute endpoint
  • Data Validation: All attributes are validated according to their defined data types
  • product - Product information
  • location - Location details
  • sale - Actual sales at these prices

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated