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

SKU Calendar

Overview

The SKU Calendar resource defines the active date range during which a product-location combination (SKU) is considered live and eligible for replenishment planning. Each record specifies a start and end date for the SKU's activity window, enabling the system to include or exclude specific product-location pairs from planning runs based on their lifecycle status.

Resource Endpoint

/api/v2/ingest/object/INV_SKU_CALENDAR_OOTB
/api/v2/ingest/object/INV_SKU_CALENDAR_OOTB

Supported Methods

MethodReturn TypeDescription
POSTResponseIngest (create/update) SKU Calendar 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. 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
start_datedateNoThe date from which the SKU is considered active at this location, in YYYY-MM-DD format
end_datedateNoThe date on which the SKU becomes inactive at this location, in YYYY-MM-DD format
updated_attimestampYesTimestamp of the most recent update to this record

Relationships

Outbound References

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

Inbound References

The following resources are referenced by sku_calendar:

  • productsproduct_idproducts.product_id
  • locationslocation_idlocations.location_id

JSON Representation

{
  "solutionName": "INV_OOTB",
  "data": [
    {
      "product_id": "PROD-001",
      "location_id": "LOC-001",
      "start_date": "2025-01-01",
      "end_date": "2025-12-31",
      "updated_at": "2025-01-15 08:00:00"
    }
  ],
  "operationType": "UPSERT"
}
{
  "solutionName": "INV_OOTB",
  "data": [
    {
      "product_id": "PROD-001",
      "location_id": "LOC-001",
      "start_date": "2025-01-01",
      "end_date": "2025-12-31",
      "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_SKU_CALENDAR_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "INV_OOTB",
    "data": [
      {
        "product_id": "PROD-001",
        "location_id": "LOC-001",
        "start_date": "2025-01-01",
        "end_date": "2025-12-31",
        "updated_at": "2025-01-15 08:00:00"
      }
    ],
    "operationType": "UPSERT"
  }'
curl -X POST \
  'https://service.peak.ai/ingestion-api/api/v2/ingest/object/INV_SKU_CALENDAR_OOTB' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "solutionName": "INV_OOTB",
    "data": [
      {
        "product_id": "PROD-001",
        "location_id": "LOC-001",
        "start_date": "2025-01-01",
        "end_date": "2025-12-31",
        "updated_at": "2025-01-15 08:00:00"
      }
    ],
    "operationType": "UPSERT"
  }'

Important Notes

  • product_id, location_id, and updated_at together form the composite primary key. All three fields must be provided on every record.
  • start_date and end_date are optional. When omitted, the SKU is assumed to be permanently active or the activity window is managed externally.
  • Dates must be provided in YYYY-MM-DD format. Timestamps must be in YYYY-MM-DD HH:MM:SS format.
  • product_id must correspond to an existing record in the Products resource.
  • location_id must correspond to an existing record in the Locations resource.
  • Records are ingested via UPSERT: an existing record with matching primary keys will be updated; otherwise a new record is inserted.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated