Skip to content
← Back to Index

skuCommand

Return this effect to apply a sku command from hooks that supports it.

Type

filtrera
{
  effect: 'skuCommand'
  type: text // Command type
  // Additional command properties are added here
}

Sku Commands

reserveReserve stock. If not enough stock is available, a back order will automatically be created and it will be fulfilled once enough stock is available.
setAllocationCreates or updates a stock allocation of SKU for a given inventory.
setDynamicFieldsSets dynamic fields of a sku. Non specified fields will be left unchanged. Set value to null to remove field.
setIncomingStockCreates or updates incoming stock of SKU for a given inventory. Reference can be used to map incoming stock to an external entity.
setPhysicalStockSets the physical stock quantity of SKU for a given inventory. If there is no existing StockPosition for the SKU/inventory it will be created.
unreserveRemoves any reservation or back order of the specified order line

© 2024 Hantera AB. All rights reserved.