• List all batches for a collection and product (admin only).

    Parameters

    • collectionId: string

      Identifier of the parent collection

    • productId: string

      Identifier of the parent product

    Returns Promise<BatchResponse[]>

    Promise resolving to an array of BatchResponse objects

    Throws

    ErrorResponse if the request fails