UiPath Documentation
industry-department-solutions
latest
false
  • Overview
    • Introduction
    • Getting Started
    • API Guide
    • Customizations
    • Data Onboarding Checklist
  • API Resources
UiPath logo, featuring letters U and I in white

Supply Chain & Retail Solutions API guide

Last updated Apr 16, 2026

Order Parameters

Overview

The Order Parameters resource represents the replenishment configuration for a product-location-source combination. Each record defines the planning parameters used by the inventory optimisation engine to calculate recommended order quantities, including review cycles, service level targets, lead times, and minimum stock guardrails.

Resource Endpoint

/api/v2/ingest/object/INV_ORDER_PARAMETERS_OOTB
/api/v2/ingest/object/INV_ORDER_PARAMETERS_OOTB

Supported Methods

MethodReturn TypeDescription
POSTResponseIngest (create/update) Order Parameters records via UPSERT operation

Request Headers

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

Properties

Primary Keys

  • product_id (string) - Unique identifier for the product. Part of the composite primary key.
  • updated_at (timestamp) - Timestamp of the most recent update to the record. Part of the composite primary key.

Attributes

AttributeData TypeRequiredDescription
product_idstringYesUnique identifier for the product
location_idstringYesUnique identifier for the location these parameters apply to
source_idstringYesIdentifier of the supplier or source from which replenishment is made
review_period_daysintegerYesNumber of days between inventory review cycles
service_levelfloatYesTarget service level as a decimal (e.g. 0.95 for 95%)
lead_time_daysintegerYesNumber of days from order placement to expected receipt
minimum_guardrailintegerNoMinimum stock quantity to maintain as a safety buffer
updated_attimestampYesTimestamp of the most recent update to this record

Relationships

Outbound References

The order_parameters resource does not reference any downstream resources as foreign keys.

Inbound References

The following resources are referenced by order_parameters:

  • productsproduct_idproducts.product_id
  • locationslocation_idlocations.location_id

JSON Representation

{
  "solutionName": "INV_OOTB",
  "data": [
    {
      "product_id": "PROD-001",
      "location_id": "LOC-001",
      "source_id": "SUP-001",
      "review_period_days": 7,
      "service_level": 0.95,
      "lead_time_days": 14,
      "minimum_guardrail": 50,
      "updated_at": "2025-01-15 08:00:00"
    }
  ],
  "operationType": "UPSERT"
}
{
  "solutionName": "INV_OOTB",
  "data": [
    {
      "product_id": "PROD-001",
      "location_id": "LOC-001",
      "source_id": "SUP-001",
      "review_period_days": 7,
      "service_level": 0.95,
      "lead_time_days": 14,
      "minimum_guardrail": 50,
      "updated_at": "2025-01-15 08:00:00"
    }
  ],
  "operationType": "UPSERT"
}

Example Request

curl -X POST \
  'https://service.peak.ai/ingestion-api/api/v2/ingest/object/INV_ORDER_PARAMETERS_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "INV_OOTB",
    "data": [
      {
        "product_id": "PROD-001",
        "location_id": "LOC-001",
        "source_id": "SUP-001",
        "review_period_days": 7,
        "service_level": 0.95,
        "lead_time_days": 14,
        "minimum_guardrail": 50,
        "updated_at": "2025-01-15 08:00:00"
      }
    ],
    "operationType": "UPSERT"
  }'
curl -X POST \
  'https://service.peak.ai/ingestion-api/api/v2/ingest/object/INV_ORDER_PARAMETERS_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "INV_OOTB",
    "data": [
      {
        "product_id": "PROD-001",
        "location_id": "LOC-001",
        "source_id": "SUP-001",
        "review_period_days": 7,
        "service_level": 0.95,
        "lead_time_days": 14,
        "minimum_guardrail": 50,
        "updated_at": "2025-01-15 08:00:00"
      }
    ],
    "operationType": "UPSERT"
  }'

Important Notes

  • product_id and updated_at together form the composite primary key. Both fields must be provided on every record.
  • service_level should be expressed as a decimal between 0 and 1 (e.g. 0.95 for a 95% target fill rate).
  • source_id should correspond to a valid supplier_id in the Suppliers resource.
  • location_id should correspond to a valid record in the Locations resource.
  • minimum_guardrail is optional; when omitted, the system will not enforce a minimum stock floor for this product-location.
  • Timestamps must be provided in YYYY-MM-DD HH:MM:SS format.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated