3. Install and enable the customer experience
Install
Section titled “Install”| Step | Who | Operation | Success looks like |
|---|---|---|---|
| Final preview | Your agent or you | blueprint.lifecycle.preview, or REST POST /v4/platform/blueprints/pharmacy-agentic-commerce/install-preview with {"version":"0.6.7","config":{…}} |
installable: true, every requirement met |
| Install | An authorized person: intended to be a tenant owner, admin or developer (see above) | Admin console → Blueprints → Install; or REST POST /v4/platform/blueprints/pharmacy-agentic-commerce/install with {"version":"0.6.7","config":{…}} |
201 with status: "active", the installation ID, its flows and customer entrypoints |
| Response | Meaning | What to do |
|---|---|---|
422 INSTALL_REQUIREMENTS_UNMET |
A requirement is missing | Fix the listed requirement (chapter 2) |
409 VERSION_SUPERSEDED |
That version was replaced | Use the version named in supersededBy |
409 BLUEPRINT_CONFIG_CHANGED |
Already installed with a different configuration | Upgrade or uninstall first |
500 with compensation |
Install failed and was rolled back | Check compensation.complete; if false, contact Orangepill |
Sending the same install request again with the same configuration is safe: it either does nothing or repairs a partly-ready installation.
Enable the customer experience
Section titled “Enable the customer experience”| Step | Who | Operation | Permission | Success looks like |
|---|---|---|---|---|
| List entrypoints | You | REST GET /v4/platform/blueprints/installations/{id}/customer-entrypoints |
flows:read |
Ten entrypoints, available |
| Enable the ones you use | An authorized person, over the API | REST POST /v4/platform/blueprints/installations/{id}/customer-entrypoints/{key}/enable for ops_catalog, ops_cart, ops_checkout, ops_confirm and shop_assistant |
flows:publish, signed-in person |
Each shows enabled |
| Create the webchat channel | A tenant admin | Admin console → Channels → Integrations (webchat), then an adapter | — | An active webchat integration |
| Link webchat to the experience | An authorized person, over the API | REST POST /v4/platform/customer-oauth/channel-integrations/{integrationId}/reconcile |
settings:write, signed-in person |
channel: "webchat", with the enabled experiences listed |
| Route the channel | A tenant admin | Admin console → Channels → Routing: target “customer experience” | — | Route created. A 409 CUSTOMER_EXPERIENCE_ROUTE_UNAVAILABLE names the missing link |
| Check readiness | You or your agent | REST GET /v4/platform/blueprints/installations/{id}/readiness; Admin console installation page |
flows:read |
Webchat ready |
Entrypoint enablement and the webchat link have no Admin console screen yet, so they are API-only today.
Evidence
Section titled “Evidence”- Platform tests cover the real install lifecycle and an idempotent reinstall, the real installer for this Blueprint, and that entrypoints are pinned to the installed flows.
- Internal staging acceptance enabled these entrypoints and served them on webchat at 0.6.7.
- Docs acceptance on a prepared sandbox: pending.