ConnectApi.OrderSummaryInputRepresentation

An order from which to create an OrderSummary. Optionally, you can specify OrderSummary-specific information such as its Status and whether it is managed in Salesforce Order Management.

PropertyTypeDescriptionRequired or OptionalAvailable Version
businessModelStringThe order’s business model. It can have one of these values:
  • B2B
  • B2C
Optional53.0
externalReference​IdentifierStringUsed internally to prevent duplicate records. This value is case-sensitive.Optional56.0
nameStringSpecifies an OrderNumber to assign to the order summary.Optional50.0
orderIdStringID of the original order.Required48.0
orderLifeCycleTypeStringSpecifies whether the order is managed in Salesforce Order Management or by an external system. It can have one of these values:
  • MANAGED—Managed in Salesforce Order Management.
  • UNMANAGED—Managed by an external system.
If no value is specified, the default is MANAGED.
Optional49.0
sourceProcessStringDescribes the order process creating the OrderSummary. It can have one of these values:
  • Exchange—An Exchange process.
  • OrderOnBehalf—An Order on Behalf Of process.
  • Standard—Any process other than Exchange or Order on Behalf Of.
If no value is specified, the default is Standard.
Optional57.0
statusStringSpecifies a status to assign to the order summary. The value must match one of the picklist values on the Status field of the OrderSummary object.Optional50.0

See Also