Salla App Functions Handler

Step 3 of building a Salla App Function: write the handler body from the trigger's `template`. Use when coding the logic — reading typed `context` (payload/merchant/settings), returning the response contract via the `Resp` (or entity `Shipment`) builder, staying inside the V8-isolate sandbox (web-standard APIs, `fetch` for HTTP), and bounding each `fetch` to the sync/async timeout. Routed from salla-app-functions; validate next with salla-app-functions-validate. Token-handling → salla-app-auth; API details → salla-api-core.

sallaapp 9baf812 10.2 KB Updated

File contents

sallaapp/salla-partners-agent-kit/tree/main/.agents/skills/salla-app-functions-handler commit 9baf8121e8

Frequently asked questions

npx skillmds@latest add sallaapp/salla-app-functions-handler