Skip to content

Commit 3b89c69

Browse files
committed
Add Shopify compliance endpoints
1 parent a948056 commit 3b89c69

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
using Microsoft.AspNetCore.Mvc;
2+
3+
namespace Umbraco.Cms.Integrations.OAuthProxy.Controllers
4+
{
5+
[ApiController]
6+
public class ShopifyComplianceController : Controller
7+
{
8+
/// <summary>
9+
/// Handles customer data requests from Shopify
10+
/// </summary>
11+
/// <returns></returns>
12+
[HttpPost]
13+
[Route("/shopify-compliance/v1/customer/data-request")]
14+
public IActionResult CustomerDataRequest() => Ok();
15+
16+
/// <summary>
17+
/// Handles customer data erasure requests from Shopify
18+
/// </summary>
19+
/// <returns></returns>
20+
[HttpPost]
21+
[Route("/shopify-compliance/v1/customer/data-redact")]
22+
public IActionResult CustomerDataRedact() => Ok();
23+
24+
/// <summary>
25+
/// Handles shop data erasure requests from Shopify
26+
/// </summary>
27+
/// <returns></returns>
28+
[HttpPost]
29+
[Route("/shopify-compliance/v1/shop/data-redact")]
30+
public IActionResult ShopDataRedact() => Ok();
31+
}
32+
}

0 commit comments

Comments
 (0)