IFClite TypeScript API
    Preparing search index...

    Function copyProductInStore

    • Copy the complete product graph. options.Name overrides only the root product’s Name; options.shape: 'own' deep-copies file shape records. A copy on another storey re-resolves its top attachment there (copy-attachment.ts), as the batch does. The copy and the re-bind are one atomic write: when either refuses, nothing is left behind (#9352).

      Parameters

      • ctx: CopyContext
      • sourceId: number
      • Optionaltransform: CopyTransform
      • Optionaloptions: { Name?: string; shape?: CopyShape }

      Returns CopyProductResult