Other tools

Sync costs from Gelato

Updated

Create an API key in the Gelato dashboard and connect it under Connections › Cost sources. ROASaurus reads what Gelato charged for production, packaging and shipping per order, VAT included, from Gelato's receipts.

What ROASaurus reads

For every Gelato order: production, packaging and shipping, VAT included, from its receipts. When Gelato splits an order, the parts add up. Each supplier cost replaces the estimated product cost (COGS) of that order, so profit per order, product, campaign and customer uses what you actually paid. Orders without a supplier cost keep the estimate from your product costs, so set those too for products you fulfil yourself.

ROASaurus checks for new supplier orders every hour. A cost that arrives before ROASaurus has seen the store order waits under Not matched to an order yet and is matched as soon as the order comes in.

Before you start

  • An account at Gelato with the orders of this store, and permission to create API credentials there.
  • The owner or admin role in ROASaurus (members cannot change cost sources).
  • The store connected in ROASaurus, so the supplier orders have store orders to match.

Steps

  1. Get your Gelato credentials

    In the Gelato dashboard, open Developer › API keys and create a key.

  2. Open Cost sources

    In ROASaurus, select the store and open Connections › Cost sources. Supplier connections are listed under Supplier costs.

    The ROASaurus Mac app showing Connections: every connected tool with its status. Fictional demo store, simulated data.
    The ROASaurus iPhone app showing Connections: every connected tool with its status. Fictional demo store, simulated data.
    Connections in the Mac and iPhone apps (fictional demo store): every tool the store sends data to or reads from, with its status.
  3. Connect Gelato

    Click Connect Gelato, paste the API key, choose how many days of history to import (60 by default, at most 365) and click Save and connect.

    You should see: “Connected Gelato. Imported n records.” and the card with Last sync and imports hourly.

  4. Check the matches

    Open the Gelato card. Gelato orders carry your store order as orderReferenceId.

    You should see: The records of the last 90 days, how many are matched to orders, and the total amount.

What you should see

Profit › Orders › Profit per order shows the supplier cost as the order's product cost, and Profit › Products and Profit per campaign use it from the next report.

Common problems

“Could not connect Gelato: …” or “Saved, but the test call failed: …”
Gelato refused the credentials. Copy them again (no spaces), check the permission they need, and connect again. The message after the colon is Gelato's own answer.
Costs stay under “Not matched to an order yet”
The supplier order does not carry the store order reference ROASaurus expects, or the store order has not arrived yet. Check the reference on one order at the supplier, and check that the store connection receives orders.
“Last sync failed: …”
The credentials expired or were removed at the supplier. Create new ones and connect again; costs already imported stay.

Next step

A cost source completes the Set up costs step of Getting started.

Back to the setup checklist

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.