diff --git a/Src/VTEX/VTEXWrapper.cs b/Src/VTEX/VTEXWrapper.cs index bbf857171..a0e9d756d 100644 --- a/Src/VTEX/VTEXWrapper.cs +++ b/Src/VTEX/VTEXWrapper.cs @@ -383,6 +383,16 @@ public async Task GetCollectionsAsync(CancellationToken token) return await ServiceInvokerAsync(HttpRequestMethod.GET, "collections", token); } + /// + /// Updates an existing collection. + /// + /// The identifier of the collection to be updated. + /// The data representing the updated collection. + /// A cancellation token to observe while waiting for the task to complete. + /// A task that represents the asynchronous operation, containing the response as a string. + public async Task UpdateCollectionAsync(int id, string data, CancellationToken token) + { + /// /// Creates a new collection. ///