Skip to content

Build on Fatrina

Read orders, products and customers, update orders and stock, and receive signed webhooks when something happens in your store. Create your API key under Settings > Developers in the dashboard.

The reference below is in English, like the code it describes.

Fatrina for Make

The private custom-app source contains a bearer connection, dedicated webhook attach/detach procedures, an instant event trigger and five actions. It has not been imported to or published by Make.

Connect a store

Create a separate key in Settings → Developers. Grant products:read for the connection test, webhooks:write and the source read scope for instant triggers, and only the write scopes needed by actions. Save it in the connection password field. The API token selects the store; subscriptions cannot cross stores or another key’s endpoints.

Import the private source

Use the files listed in integrations/connectors/make/manifest.json to create the private custom app in Make’s developer console: base communication, connection, webhook parameters/specification, attach/detach RPCs, the instant trigger, and each action definition. These are source components to import and validate, not a claim that a provider app already exists. Do not publish before private import and receiver testing pass.

Authenticate callbacks

Each webhook has an independent high-entropy callback token and a signing secret. Use at least 40 random letters/numbers for each; prefix the signing secret with whsec_. The attached dedicated URL includes the callback capability token, and the webhook condition checks that token and the selected event before producing a bundle. Keep the entire callback URL private.

Fatrina always sends its timestamped HMAC signature too. This private Make source uses the dedicated URL capability because Make’s documented parsed-body variables do not establish an exact raw-byte HMAC contract. It does not claim to verify that HMAC by reserializing JSON. For deployments that require raw-byte HMAC validation at the Make boundary, validate a supported raw-body mechanism with Make before enabling the app. Zapier and n8n source perform raw-byte HMAC checks directly.

Modules and retries

The instant trigger covers order created/updated, customer created, fulfilment status changed and return requested. Actions create products, update product details, adjust inventory, update order status and add notes. Prices are integer piastres. Use a Make Data Store keyed by the event id before non-idempotent downstream actions. Disable automatic write retries; inspect the store after an unknown result before repeating an adjustment, product create or note.

See the API reference, Make dedicated webhooks and attached-webhook contract.