Success envelope
Every2xx response uses this shape:
data depends on the endpoint. Check status as well as the HTTP code: the published schema permits status: false when an operation returns a negative result without throwing.
Nullable response fields
Optional fields may be omitted. Nullable fields may be returned asnull; these are separate properties of the contract. For example, a customer without an email address can return "email": null. The OpenAPI 3.1 schemas explicitly include null where it is allowed. Required non-null fields and non-null array items remain non-null.
A single-resource GET for a missing or deleted resource returns HTTP 404 with the error envelope below, rather than a successful empty resource.
Error envelope
error code when handling failures. The message provides context for a person investigating the request.
Retries
Correct validation and permission errors before retrying. For429, follow Rate limits. For a timeout or server error, use backoff and retain the same idempotency key for a write. Check the resource if the outcome remains uncertain.
