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

    Parameters

    • collectionId: string

      Identifier of the parent collection

    • productId: string

      Identifier of the parent product

    • batchId: string

      Identifier of the batch

    • data: any

      Batch update data

    Returns Promise<BatchResponse>

    Promise resolving to a BatchResponse object

    Throws

    ErrorResponse if the request fails