OrderChangeLog

Represents a log record of all change requests made to an order post activation. A log record is always one-to-one to change an order request.

Introduced in API version 48.0.

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

  • Commerce Cloud standard objects in the inventory data model require at least one of the following licenses: B2B Commerce, D2C Commerce.
  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    The ID of the main change line created as a result of the change request. For example, if you change an order item, the ChangeLineId would be the change OrderItem ID, or if you change a shipping address, the ChangeLineId would be the change OrderDeliveryGroup ID.

    This field is a polymorphic relationship field.

  • Relationship name: ChangeLine

  • Relationship type: polymorphic

  • Refers to: OrderAdjustmentGroup, OrderDeliveryGroup, OrderItem, OrderItemAdjustmentLineItem, OrderItemTaxLineItem

  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The method used to implement the change.
  • Possible values:
    • Delta — Delta
    • New — New
  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    The ID of the change order.

    This field is a relationship field.

  • Relationship name: ChangeOrder

  • Relationship type: relationship

  • Refers to: Order

  • Type: string
  • Properties: Filter, Group, idLookup, Sort
  • Description: The unique ID of the request of which this change is a part.
  • Type: textarea

  • Description:

    A human-readable summary of the change details.

    Here’s an example of a change summary:

  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The type of the change request.
  • Possible values:
    • NewAdjustmentGroups — NewAdjustmentGroups — Add a new header level adjustment.
    • NewLineAdjustments — NewLineAdjustments — Add a new line level adjustment.
    • NewOrderItems — NewOrderItems — Add a new order item.
    • QuantityChange — QuantityChange — Add or remove quantity from an original order item.
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name for the order change log.
  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    The ID of the order that is changed.

    This field is a relationship field.

  • Relationship name: RelatedOrder

  • Relationship type: masterdetail

  • Refers to: Order

  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The order status of the change order.
  • Possible values:
    • Activated — Activated
    • Draft — Draft

Order change log entries are automatically created each time an order is modified.

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.