UiPath Documentation
industry-department-solutions
latest
false
Supply Chain & Retail Solutions API guide
重要 :
このコンテンツは選択された言語でご利用になれません。代わりに、英語のコンテンツが表示されます。

Order Parameters

Order Parameters API resource defining replenishment configuration per product-location-source combination, including planning parameters used by the inventory optimization engine.

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/{prefix}ORDER_PARAMETERS{suffix}
/api/v2/ingest/object/{prefix}ORDER_PARAMETERS{suffix}

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.
  • location_id (string) - Unique identifier for the location these parameters apply to. 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 (for example, 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

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:

  • products — product_id → products.product_id
  • locations — location_id → locations.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
    }
  ],
  "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
    }
  ],
  "operationType": "UPSERT"
}

Example Request​

curl -X POST \
  'https://ingestion.peak.ai/api/v2/objects/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
      }
    ],
    "operationType": "UPSERT"
  }'
curl -X POST \
  'https://ingestion.peak.ai/api/v2/objects/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
      }
    ],
    "operationType": "UPSERT"
  }'

Important Notes​

  • product_id and location_id 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 (for example, 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.

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得