@gradientedge/commercetools-utils
    Preparing search index...

    Interface StagedOrderSetStoreAction

    Sets the Store the Order is assigned to. It should be used to migrate Orders to a new Store. No validations are performed (such as that the Customer is allowed to create Orders in the Store).

    Produces the [Order Store Set](ctp:api:type:OrderStoreSetMessage) Message.
    Returns a `400` error if `store` references the same Store the Order is currently assigned to, including if you try to remove the value when no Store is currently assigned.
    
    interface StagedOrderSetStoreAction {
        action: "setStore";
        store?: StoreResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "setStore"

    Value to set. If empty, any existing value will be removed.

    If `store` references the same Store the Order is currently assigned to or if you try to remove the value when no Store is currently assigned, a `400` error is returned.