Skip to main content

Seed Plan From Forecast / Last Year

POST 

/api/open-to-buy/merchandise-plans/seed

Seed a period's grid in bulk from a forecast or last-year actuals. Each incoming node row upserts a plan and gets its OTB computed.

Fields:

  • retail_period_id (required, integer, exists)
  • source (required, one of: forecast, last_year)
  • rows (required, array, min 1)
    • rows.*.node_type (required, enum: category | brand | department | product)
    • rows.*.node_id (required, integer >= 0)
    • rows.*.planned_sales_value (optional, numeric >= 0)
    • rows.*.planned_sales_units (optional, integer >= 0)
    • rows.*.planned_markdown_value (optional, numeric >= 0)
    • rows.*.planned_eop_value (optional, numeric >= 0)
    • rows.*.planned_eop_units (optional, integer >= 0)

Requires the inventory read/write scope.

Request

Responses

Created

Response Headers
    Content-Type