Palbase Journeys · API
/journeys/stores/{store_id}/blueprintsActivate a seller blueprint for a store
Compiles and activates a sandboxed seller blueprint scoped strictly to store_id.
Called by a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.
Path
store_idstring (uuid) · requiredThe store UUIDRequest body
blueprint_idstring · requiredbodystring · optionalchannel"push" | "email" | "sms" | "whatsapp" · requireddelaystring · optionalkeystring · optionallocalestring · optionalnamestring · optionalpromo_rulestring · optionalpublishboolean · optionaltemplatestring · optionaltitlestring · optionalcurl -X POST "https://<your-ref>.palbase.studio/journeys/stores/<store_id>/blueprints" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"blueprint_id":"string","channel":"push"}'Responses
201The activated store blueprint journey
400The request is malformed: a key, a limit, a cursor or a simulated person is wrong (the error says which)
401No valid credentials
403Not the project's secret key (secret_key_required)
404The project has no journey of this key (journey_not_found)
409A journey of this key exists (journey_exists), a published journey does not change (journey_published), only a live journey stops (journey_not_live), a stopped journey is tried no more (journey_stopped), a project runs 50 journeys at once (too_many_live_journeys) and keeps 500 (too_many_journeys)
422The request is malformed: a key, a limit, a cursor or a simulated person is wrong (the error says which)
429Too many requests
503The service is unavailable for a moment; retry
defaultAn error
Operation ActivateStoreBlueprint of journeys's contract.