• Create a new batch for a collection and product (admin only).

    Parameters

    • collectionId: string

      Identifier of the parent collection

    • productId: string

      Identifier of the parent product

    • data: any

      Batch creation data

    Returns Promise<BatchResponse>

    Promise resolving to a BatchResponse object

    Throws

    ErrorResponse if the request fails