Idempotency
Also known as idempotent. Category: E-commerce and workflow
An operation is idempotent when repeating it has the same effect as doing it once. Webhook handlers need it because the same event can be delivered more than once.
How PhotoRobot uses it
PhotoRobot webhooks can arrive repeatedly after network retries, so receivers deduplicate by event ID and write with upserts. Covered in module I02, Webhook Architecture.
Related terms
- Webhook: An HTTP request one system sends to another automatically when an event happens.
- Reconciliation poll: A scheduled job that compares state with the PhotoRobot API to catch missed webhooks.
- PhotoRobot Cloud API: PhotoRobot's REST API for integrating the studio with catalog, DAM, PIM and e-commerce systems.