B2Store

Accept a B2STORE orchestrator event

Accepts any B2STORE orchestrator event, validates the envelope and queues it for asynchronous processing. Access is restricted by an exact-IP allowlist (B2STORE_ALLOWED_IPS) and, when configured, a bearer token (B2STORE_WEBHOOK_SECRET). Answering 202 means the event is durably queued, not that provisioning finished. Re-delivering the same event_id is safe and also answers 202.

POST
/api/v2/orchestrator/events

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v2/orchestrator/events" \  -H "Content-Type: application/json" \  -d '{    "event_id": "550e8400-e29b-41d4-a716-446655440000",    "event_type": "product.purchased"  }'
{  "accepted": true,  "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c",  "duplicate": false}
Empty
Empty
Empty