X5 Retail Group Interview Question

How to guarantee idempotency in REST in microservices