Skip to content

SDK Integration Checklist

Use this checklist to build SDKs or integrations that are consistent across services.

1) Base setup

  • Use the custom domain: https://api.g3nretailstack.com/<service>/....
  • Always capture and log stats.request_id and stats.build.build_id from responses.
  • Read the Common contract before service-specific surfaces.
  • Integration checklist (end-to-end): /common/integration-checklist.html

2) Auth and identity placement

  • Human auth: x-session-guid header (bearer secret).
  • Service auth: x-api-key header (bearer secret).
  • Tenancy: x-orgcode header when required by a service.
  • Cost attribution: x-cccode header or cccode in body where documented.
  • Use the header + identity cheat sheet: /common/headers-identity.html.
  • Prefer a single request context object (service + session/apiKey + orgcode/cccode) and let the client shim fan out placement per service.

3) Request semantics (no surprises)

4) Retry + idempotency posture

5) Error handling (anti-enumeration)

  • 404 is ambiguous (not found OR not associated). Use the troubleshooting flow.
  • 403 org-write-blocked means the org is not verified (or parked/suspended/doomed).
  • 409/428 means your local state is stale.
  • See: /common/troubleshooting.html.

6) Minimum viable flow

7) MRS presign correctness

9) Versioning + stability

  • Treat docs build IDs as compatibility markers.
  • If your SDK depends on a specific behavior, pin the doc build ID you validated against.