Production Schedules
production_schedule objectA saved production schedule.
Versions are immutable history: generating again creates a new version, and publishing supersedes the previous one rather than editing it, because attainment is measured against whichever version was live at the time.
idstringSchedule ID.
objectstringenumValues:production_scheduleResource type identifier.
versionintegerSequential version number within the account.
statusstringenumValues:draftgeneratingpublishedWhere this version is in its lifecycle.
namestringnullableOptional label for the version.
planning_as_of_atstring (date-time)The instant the plan was calculated against.
horizon_starts_atstring (date-time)First instant of the horizon.
horizon_ends_atstring (date-time)First instant of the last day of the horizon.
horizon_weeksintegerLength of the horizon in weeks.
frozen_weeksintegerHow many leading weeks freeze on publish.
frozen_through_atstring (date-time)nullableLast instant covered by the frozen window, set when the version is published.
demand_basisstringenumValues:trailing_12seasonal_emaWhich demand basis produced the plan.
generation_sourcestringenumValues:manualscheduledWhat triggered the generation.
solver_versionstringVersion of the solver that produced the plan.
settings_snapshotobjectThe planning assumptions used, frozen at generation so the plan stays explainable after settings change.
diagnosticsobjectWhat the solver could not do, frozen at generation.
eoq_capped_skusarray of stringItems whose economic lot size was reduced to fit one machine-week, meaning shorter and more frequent campaigns.
unschedulable_skusarray of stringItems that cannot fit even a single lot into a machine-week and are therefore never scheduled.
capacity_starved_skusarray of stringItems below their reorder point that never won a slot in the horizon. This is the signal that the plant is short of capacity.
items_without_run_ratearray of stringItems with no measured run rate, which cannot be scheduled because their machine time is unknown.
excluded_item_countintegerNumber of items the merchant has excluded from planning.
constraint_machine_countintegerMachines the constraint department contributed to this solve.
measured_batch_countintegerBatches found on those machines in the demand window. Zero means nothing has been scanned there, which is why a plan can be empty even with machines configured.
machines_without_stepintegerMachines in the constraint department with no production step. Their campaigns derive no downstream department work.
changeover_slope_minutesnumberCalibrated changeover minutes per additional input.
average_inputs_addednumberAverage inputs a product transition introduces, measured from history.
Every demand override that moved a number.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of objectResources in this page.
overrideentitynullableThe override that was applied.
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).
itementitynullableThe item whose demand changed.
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).
month_starts_atstring (date-time)The first instant of the month the override applied to.
beforenumberDemand before the override.
afternumberDemand after the override.
adjustmentstringenumValues:absolutedelta_unitsdelta_percentHow the override was expressed.
reasonstringnullableenumValues:new_customerlost_accountpromotionWhy the override exists.
error_messagestringnullableWhy generation failed, when it did.
frozen_line_countintegerNumber of lines that were frozen at publish. Captured once and never recomputed, because frozen-week adherence measures against what was committed to.
frozen_planned_quantitynumberTotal quantity frozen at publish.
generated_byactornullableThe actor that generated this version.
idstringUnique identifier of the actor.
objectstringenumValues:actorResource type identifier.
typestringenumValues:userapi_keyagentActor type.
user: a human user account.api_key: a programmatic caller authenticating with an API key.agent: an automated agent acting on the account's behalf.group: a shared group identity, such as a "Customer Service" persona, rather than a single individual.
namestringnullableThe actor's display name.
handlestringnullableHuman-readable handle identifying the actor.
- For
useractors: the user's email address. - For
api_keyactors: the redacted key value.
Other actor types carry no handle.
avatar_urlstringnullableURL of the actor's profile photo, if one is set.
Only populated for user actors.
Assigned role.
idstringRole ID.
objectstringenumValues:roleResource type identifier.
namestringDisplay name, unique within the account.
typestringenumValues:adminuserscannerThe kind of role.
The role's type is sometimes used to gate special behaviors and to restrict some actions to only certain types of roles. For example, only roles with the type admin can create and manage API keys.
admin: full administrative access, including managing API keys.user: a custom role tailored to a specific need (its permissions are defined explicitly). Roles created through the API always have this type.scanner: a role for scanning-station operators.sales_rep: a role for sales representatives.agent: a role assigned to an automated agent rather than a person.
ownerownernullableProvenance of this role.
System-owned roles are global defaults shared across all accounts and cannot be modified or deleted; account-owned roles are custom roles created by that account.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountWhere this resource came from.
system: a platform-provided default shared across all accounts; not editable.account: created and owned by a specific account; theaccountfield identifies which.
accountaccountnullableThe account that owns this resource.
Present only when type is account; system-owned resources have no owning account.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringThe account's display name.
Default billing address.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
geolocationgeolocationnullableGeolocation details for the address.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Default shipping address.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
geolocationgeolocationnullableGeolocation details for the address.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
brandingaccount_brandingnullableCustomer-facing branding for the account, such as the logo, support contacts, and social links.
idstringBranding ID.
objectstringenumValues:account_brandingResource type identifier.
support_emailstringnullableSupport email address.
phone_numberstringnullableSupport phone number.
logo_urlstringnullableLogo URL.
favicon_urlstringnullableCustomer-portal favicon URL.
facebook_handlestringnullableFacebook handle.
instagram_handlestringnullableInstagram handle.
linkedin_handlestringnullableLinkedIn handle.
twitter_handlestringnullableTwitter handle.
website_urlstringnullableWebsite URL.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
portalaccount_portalnullableThe account's customer portal settings, including the portal URL slug.
idstringPortal ID.
objectstringenumValues:account_portalResource type identifier.
slugstringURL slug that identifies the account's customer portal.
Unique across all accounts.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
permissionsarray of stringnullablePermissions granted by this role, in {domain}:{action} format, such as customers:read.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
published_byactornullableThe actor that published this version.
idstringUnique identifier of the actor.
objectstringenumValues:actorResource type identifier.
typestringenumValues:userapi_keyagentActor type.
user: a human user account.api_key: a programmatic caller authenticating with an API key.agent: an automated agent acting on the account's behalf.group: a shared group identity, such as a "Customer Service" persona, rather than a single individual.
namestringnullableThe actor's display name.
handlestringnullableHuman-readable handle identifying the actor.
- For
useractors: the user's email address. - For
api_keyactors: the redacted key value.
Other actor types carry no handle.
avatar_urlstringnullableURL of the actor's profile photo, if one is set.
Only populated for user actors.
Assigned role.
idstringRole ID.
objectstringenumValues:roleResource type identifier.
namestringDisplay name, unique within the account.
typestringenumValues:adminuserscannerThe kind of role.
The role's type is sometimes used to gate special behaviors and to restrict some actions to only certain types of roles. For example, only roles with the type admin can create and manage API keys.
admin: full administrative access, including managing API keys.user: a custom role tailored to a specific need (its permissions are defined explicitly). Roles created through the API always have this type.scanner: a role for scanning-station operators.sales_rep: a role for sales representatives.agent: a role assigned to an automated agent rather than a person.
ownerownernullableProvenance of this role.
System-owned roles are global defaults shared across all accounts and cannot be modified or deleted; account-owned roles are custom roles created by that account.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountWhere this resource came from.
system: a platform-provided default shared across all accounts; not editable.account: created and owned by a specific account; theaccountfield identifies which.
accountaccountnullableThe account that owns this resource.
Present only when type is account; system-owned resources have no owning account.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringThe account's display name.
Default billing address.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
geolocationgeolocationnullableGeolocation details for the address.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Default shipping address.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
geolocationgeolocationnullableGeolocation details for the address.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
brandingaccount_brandingnullableCustomer-facing branding for the account, such as the logo, support contacts, and social links.
idstringBranding ID.
objectstringenumValues:account_brandingResource type identifier.
support_emailstringnullableSupport email address.
phone_numberstringnullableSupport phone number.
logo_urlstringnullableLogo URL.
favicon_urlstringnullableCustomer-portal favicon URL.
facebook_handlestringnullableFacebook handle.
instagram_handlestringnullableInstagram handle.
linkedin_handlestringnullableLinkedIn handle.
twitter_handlestringnullableTwitter handle.
website_urlstringnullableWebsite URL.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
portalaccount_portalnullableThe account's customer portal settings, including the portal URL slug.
idstringPortal ID.
objectstringenumValues:account_portalResource type identifier.
slugstringURL slug that identifies the account's customer portal.
Unique across all accounts.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
permissionsarray of stringnullablePermissions granted by this role, in {domain}:{action} format, such as customers:read.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
published_atstring (date-time)nullableWhen this version was published.
superseded_byentitynullableThe version that replaced this one.
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).
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.