Skip to content

Commit

Permalink
Deprecate CountryService for 2024-07
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed Jul 2, 2024
1 parent e10ba48 commit 4fa8915
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ShopifySharp/Services/Country/CountryService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using ShopifySharp.Filters;
using ShopifySharp.Infrastructure;
using ShopifySharp.Lists;
Expand All @@ -11,6 +12,7 @@ namespace ShopifySharp;
/// <summary>
/// A service for manipulating Shopify countries.
/// </summary>
[Obsolete("The Country Service REST endpoint has been deprecated by Shopify and will be removed in a future version of ShopifySharp. Shopify recommends you use the GraphQL equivalent instead.")]
public class CountryService : ShopifyService, ICountryService
{
/// <summary>
Expand Down Expand Up @@ -70,4 +72,4 @@ public virtual async Task DeleteAsync(long countryId, CancellationToken cancella

await ExecuteRequestAsync(req, HttpMethod.Delete, cancellationToken);
}
}
}

0 comments on commit 4fa8915

Please sign in to comment.