Retrieve transfers between stores, usually of different cost centers, and a summary of the lines transferred in a period.
GET /listTransferPaged
GET /transfer/{idTransfer}
GET /integration/transfer/summary
Before you start
Base URL: https://app.tspoonlab.com/recipes/api
Headers
rememberme· required — Session token returned by the login.order· optional — Cost center id (Cost centers). Defaults to the user's active cost center.
Login — Returns the token as plain text.
curl https://app.tspoonlab.com/recipes/api/login \
-d [email protected] \
-d password=XXXXXXX
Permissions — Permission to view transfers. The source and destination stores of each line are only returned with permission to view stores.
Dates — Returned as milliseconds since 1970 (epoch).
Responses may include fields other than the documented ones. Use only the documented fields.
List transfers
Returns the transfers where the active cost center is the source or the destination, newest first.
GET /listTransferPaged
Query parameters
startinteger · required — Position of the first row, starting at 0.rowsinteger · required — Number of rows to return.filterstring · optional — Text to filter by description or code.
Example
curl "https://app.tspoonlab.com/recipes/api/listTransferPaged?start=0&rows=50" \
-H "rememberme: $TOKEN"
Response
[
{
"id": "3515834441676562996102020301",
"descr": "Transfer to Downtown restaurant",
"codi": "TR-0042",
"date": "Fri 10/30/2026",
"year": 2026,
"month": 10,
"idOrderCenterSrc": "3515834441676562996102020302",
"orderCenterSrc": "Central kitchen",
"idOrderCenterDst": "3515834441676562996102020303",
"orderCenterDst": "Downtown restaurant",
"output": true,
"own": false,
"locked": false
}
]
idstring — Transfer id.descrstring — Description.codistring — Code.datestring — Date formatted for display.year,monthinteger — Year and month (1 to 12).idOrderCenterSrc,orderCenterSrcstring — Source cost center.idOrderCenterDst,orderCenterDststring — Destination cost center.outputboolean —trueif the active cost center is the source (outgoing);falseif it is the destination (incoming).ownboolean —trueif it is a transfer between stores of the active cost center itself.lockedboolean — Whether the transfer is locked.
Retrieve a transfer
GET /transfer/{idTransfer}Path parameters
idTransferstring · required — Transfer id.
Example
curl https://app.tspoonlab.com/recipes/api/transfer/3515834441676562996102020301 \
-H "rememberme: $TOKEN"
Response
{
"id": "3515834441676562996102020301",
"descr": "Transfer to Downtown restaurant",
"codi": "TR-0042",
"dateFormatted": "Fri 10/30/2026 10:30",
"comment": null,
"dateGenerated": 1793352600000,
"cost": 48.6,
"currency": "€",
"idOrderCenterSrc": "3515834441676562996102020302",
"orderCenterSrc": "Central kitchen",
"idOrderCenterDst": "3515834441676562996102020303",
"orderCenterDst": "Downtown restaurant",
"output": true,
"own": false,
"locked": false,
"businessLine": null,
"businessLineDst": null,
"listTransferComponents": [
{
"id": "3515834441676562996102020304",
"idTransfer": "3515834441676562996102020301",
"idComponent": "3515834441676562996102020305",
"descr": "Brown stock",
"quantity": 12,
"idUnit": "3515834441676562996102020306",
"unit": "l",
"comment": null,
"cost": 4.05,
"currency": "€",
"idUse": null,
"use": null,
"idStoreSrc": "3515834441676562996102020307",
"storeSrc": "Kitchen cold room",
"idStoreDst": "3515834441676562996102020308",
"storeDst": "Restaurant cold room"
}
]
}Same fields as the list, plus:
dateFormattedstring — Date and time formatted for display.commentstring — Comment.dateGenerateddate — Transfer date.costnumber — Total cost: sum of cost × quantity of the lines.nullif any line has no cost.currencystring — Currency symbol.businessLine,businessLineDstobject — Source and destination business line:idanddescrstring.listTransferComponentsarray — Transfer lines.
Each line:
idstring — Line id.idTransferstring — Transfer id.idComponentstring — Product, recipe or dish id.descrstring — Product, recipe or dish name.quantitynumber — Quantity.idUnit,unitstring — Unit.commentstring — Comment.costnumber — Unit cost. Multiply it byquantityto get the line cost.currencystring — Currency symbol.idUse,usestring — Cut or breakdown, if any.idStoreSrc,storeSrcstring — Source store.idStoreDst,storeDststring — Destination store.
Retrieve a transfer summary
Returns every line of the transfers in a period where the active cost center is the source or the destination, with the net cost.
GET /integration/transfer/summary
Query parameters
startDatestring · required — First day of the period, asYYYY-MM-DD. Included.endDatestring · required — Last day of the period, asYYYY-MM-DD. Included.
Example
curl "https://app.tspoonlab.com/recipes/api/integration/transfer/summary?startDate=2026-10-01&endDate=2026-10-31" \
-H "rememberme: $TOKEN"
Response
{
"currency": "€",
"cost": -48.6,
"listTransferComponents": [
{
"id": "3515834441676562996102020304",
"descr": "Brown stock",
"idComponent": "3515834441676562996102020305",
"type": 1,
"color": null,
"quantity": -12,
"unit": "l",
"idUnit": "3515834441676562996102020306",
"comment": null,
"idUse": null,
"use": null,
"idComponentType": "3515834441676562996102020309",
"componentType": "Stocks",
"listTypesWithId": [
{ "id": "3515834441676562996102020309", "descr": "Stocks" }
],
"storeSrc": "Kitchen cold room",
"idStoreSrc": "3515834441676562996102020307",
"storeDst": "Restaurant cold room",
"idStoreDst": "3515834441676562996102020308",
"cost": 4.05,
"lastModified": "Wed 10/28/2026 17:40",
"dateGenerated": 1793352600000,
"listLots": [
{ "id": "3515834441676562996102020310", "descr": "L261029-03" }
]
}
]
}currencystring — Currency symbol.costnumber — Net cost for the period: incoming as positive, outgoing as negative. Transfers between stores of the active cost center itself are not included.nullif any line has no cost.listTransferComponentsarray — One entry per transfer line, not grouped.
Each line:
idstring — Line id.descrstring — Product, recipe or dish name.idComponentstring — Product, recipe or dish id.typeinteger —0product ·1recipe ·2material ·3dish.colornumber — Color of the main category.quantitynumber — Quantity. Negative if it leaves the active cost center.unit,idUnitstring — Unit.commentstring — Comment.idUse,usestring — Cut or breakdown, if any. Usuallynull.idComponentType,componentTypestring — Main category (Categories).listTypesWithIdarray — Every category of the product, recipe or dish.storeSrc,idStoreSrcstring — Source store.storeDst,idStoreDststring — Destination store.costnumber — Unit cost.lastModifiedstring — Date of the cost, formatted for display.dateGenerateddate — Transfer date.listLotsarray — Batches:idstring anddescrstring (batch code).
Need help? Message us from the support chat in the bottom-right corner.
