CartToOrderCompletedEvent

Each row represents information that notifies subscribers when the /actions/standard/createOrderFromCart REST request is complete. If the request is successful, use this event to learn about the Order record. If the request isn’t successful, use this event to learn about the errors associated with the request. This object is available in API version 66.0 and later.

Supported Calls

describeSObjects()

Subscription Channel

/event/CartToOrderCompletedEvent

Special Access Rules

This object is available with CMERLMB2CAddOn license.

Fields

CorrelationIdentifier

  • Type: string
  • Properties: Nillable
  • Description: The ID specified by a client, such as Cart ID.

ErrorCode

  • Type: string
  • Properties: Nillable
  • Description: An error code indicating the type of error.

ErrorMessage

  • Type: textarea
  • Properties: Nillable
  • Description: A message that provides the details of the error.

EventUuid

  • Type: string
  • Properties: Nillable
  • Description: A universally unique identifier (UUID) that identifies a platform event message.

HasErrors

  • Type: boolean
  • Properties: Defaulted on create
  • Description: Indicates whether an error occurred during the Place Order API call (true) or not (false).
  • Default value: false

OrderId

  • Type: reference
  • Properties: Nillable
  • Description: The ID of the order created from the cart. If the process failed, this field is null. This field is a relationship field.
  • Relationship Name: Order
  • Refers To: Order

OrderNumber

  • Type: string
  • Properties: Nillable
  • Description: The unique number assigned to the order created from the cart.

ReplayId

  • Type: string
  • Properties: Nillable
  • Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events.

RequestIdentifier

  • Type: string
  • Properties: Nillable
  • Description: The unique ID that's returned in the actions/standard/createCartFromOrder response. Use this ID to identify the event for a specific request.

RevenueTransactionErrorLogId

  • Type: reference
  • Properties: Nillable
  • Description: The ID of the revenue transaction error log when error occurs. This field is a relationship field.
  • Relationship Name: RevenueTransactionErrorLog
  • Refers To: RevenueTransactionErrorLog