AddCloneToBasketResult: {
    jobId: number;
    success: boolean;
    warnings: string[];
}

The parameter object for the AddCloneToBasket callback. It can be used to check success. If the flag is false, check the warnings for further information. It is recommended to display the warnings to the user. If the call was successful, the jobId value will be set for the clone added to the cart.

Type declaration

  • jobId: number

    The job id of the clone added to the cart. Only set if success is true.

  • success: boolean

    Indicates whether the call was successful or not.

  • warnings: string[]

    A list of warnings that occurred during the call. Only set if success is false.

Generated using TypeDoc