Usage
Include the optionalIdempotency-Key header with a UUID v4 value. Generate a new key for each resource you intend to create and reuse that key only when retrying the same request.
201 Created. Retrying the request with the same key also returns 201 Created, with the ID of the resource created by the first request. Sohar does not create another resource or start processing again.
Idempotency keys are scoped to your account, environment, and API. Reusing a key with a different request body does not create a new resource; Sohar returns the original resource ID. Use a new key if any request parameters change.
An invalid Idempotency-Key, including a UUID of a version other than v4, returns 400 Bad Request.