Create Demand Override
Beta/v1/operations/demand-overridesIdempotent with Idempotency-Key header. Learn more
Creates a demand override.
The scope reference is validated against the account's items or product lines, so an override can never silently match nothing. An account-scoped override applies to every planned item and takes no scope reference; it must be a delta, not an absolute value. An absolute value replaces the forecast for the period, delta_units adds to it, and delta_percent scales it; a percent override cannot reduce demand by more than 100%.
include[]optional arrayenumValues:scopeSub-objects to expand in the response. When omitted, sub-objects are returned as null.
scope_typestringenumValues:itemproduct_lineaccountWhat the override targets.
scope_ref_idstringID of the item or product line the override targets. Omit for an account-wide override, which targets every planned item.
period_starts_atstring (date-time)First day of the demand period the override applies to.
period_ends_atstring (date-time)Last day of the demand period the override applies to.
adjustmentstringenumValues:absolutedelta_unitsdelta_percentHow the value adjusts the forecast.
valuenumberThe adjustment, interpreted according to adjustment.
unit_idoptional stringID of the unit the value is expressed in.
reasonoptional stringenumValues:new_customerlost_accountpromotionWhy the adjustment was made.
noteoptional stringFree-form notes about the adjustment.
effective_atoptional string (date-time)When the override starts being applied to solves. Defaults to now.
expires_atoptional string (date-time)When the override stops being applied to solves. Omit for an override with no end.
activeoptional booleanWhether the override is applied to solves at all. Defaults to true.
idstringDemand override ID.
objectstringenumValues:demand_overrideResource type identifier.
scope_typestringenumValues:itemproduct_lineaccountWhat kind of resource the override targets. Mirrors scope.type, which is only present when the scope is expanded.
scopeentityExpandablenullableThe item or product line the override targets. Expandable. Null for an account-wide override, which targets everything.
This is a single reference rather than one field per scope because a given override targets exactly one of them; scope.type names which.
idstringUnique identifier for the entity.
objectstringenumValues:entityResource type identifier.
typestringenumValues:accountactorentityThe resource kind that this entity references, as an object-type value (e.g. user, account).
Unlike object — which is always entity — this names the underlying resource the id points to.
namestringnullableHuman-readable display name for the entity (e.g. a user's full name, a sales order number).
handlestringnullableSecondary human-readable identifier (e.g. email address, username, redacted API key value).
period_starts_atstring (date-time)First day of the demand period the override applies to.
period_ends_atstring (date-time)Last day of the demand period the override applies to.
adjustmentstringenumValues:absolutedelta_unitsdelta_percentHow the value adjusts the forecast.
valuenumberThe adjustment, interpreted according to adjustment.
The unit the value is expressed in. Expandable.
reasonstringnullableenumValues:new_customerlost_accountpromotionWhy the adjustment was made.
notestringnullableFree-form notes about the adjustment.
created_byactornullableThe actor that created the override. This may be a user, an API key, or an agent. Expandable.
effective_atstring (date-time)When the override starts being applied to solves.
expires_atstring (date-time)nullableWhen the override stops being applied to solves.
statusstringenumValues:activeinactiveWhether the override is applied to solves at all.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for Create Demand Override