Class StagedOrderSetStoreActionImpl

java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetStoreActionImpl
All Implemented Interfaces:
StagedOrderSetStoreAction, StagedOrderUpdateAction, ResourceUpdateAction<StagedOrderUpdateAction>, io.vrap.rmf.base.client.ModelBase

public class StagedOrderSetStoreActionImpl extends Object implements StagedOrderSetStoreAction, io.vrap.rmf.base.client.ModelBase

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 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.