v1

latestOpenAPI 3.0.02026-07-266521,3121.2 MB
RulesEngine

CopyAction

Use this call to copy an action from one condition to another condition. Actions may not be attached to the rule header or condition nodes with subconditions. <b>Permissions Required: </b> GlobalPermissions.OrderBook.RulesEngineNode <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

post/api/RulesEngine/CopyAction

Request body

targetParentConditionIdinteger

The condition to add the action to.

pkActionIdinteger

The id of the action to copy.

Response

OK

pkActionIdinteger
fkConditionIdinteger

The condition the action runs on.

ActionNamestring

The name of the action

ActionType'Unknown' | 'AssignShippingService' | 'AssignToFolder' | 'AssignToLocation' | 'SplitOrderByWeight' | 'SplitOrderByValue' | 'SplitOrderSingle' | 'AssignOrderExtendedProperty' | 'ChangeOrderLockStatus' | 'ChangeOrderParkStatus' | 'AssignTagToOrder' | 'ExecuteMacro' | 'AssignIdentifierToOrder' | 'BlockOrderFromMerging' | 'SendToFulfillmentNetwork' | 'SetDispatchDate' | 'AddItemToOrder' | 'AddServiceToOrder' | 'AddNoteToOrder'

The type of the action