API reference · v1.0

Salesift API

Send a shop's till sales to Salesift, and read the public mall directory.

Sales API — one HTTPS request per sale, authenticated with the shop's API key in the api-key header. Resending a sale with the same transactionId never creates a duplicate, so retries are always safe. For a walkthrough with a sending pattern and a go-live checklist, read the integration guide.

Public directory API — read-only, no key: a mall's directory (by the mall's slug, which the mall team shares), its shops and each shop's profile. There is no list of all malls. Use it to show a mall's shops on your own site or kiosk.

Errors answer JSON with a readable message in error.message.

Authentication

Base URL: https://api.salesift.com. Sales API requests send the shop's key in the api-key header. The shop's API key, made in Salesift under Shops → View API keys and shown once.

api-key: 5f0c2c…your key…9a3f

Sales

Send, correct and read back a shop's sales. Needs the shop's API key.

Send a sale

POST/salesApi/shops/{shopId}/sales

Send each sale once it is closed at the till. If a sale with this transactionId was already stored for the shop, the answer is 200 with the stored sale and nothing new is saved; otherwise 201. Treat both as success.

Parameters

FieldTypeNotes
shopIdRequiredintegerIn the path. The shop's id. A key only reaches its own shop.

Body

FieldTypeNotes
transactionIdRequiredstring, up to 64The till's receipt or transaction number. Unique within the shop; it makes retries safe.
occurredAtRequiredISO 8601 date-timeWhen the sale happened, with offset or Z. Up to 24 hours in the future is accepted.
totalAmountRequirednumber ≥ 0The total before discount and taxes.
discountoptionalnumber ≥ 0Defaults to 0.
totalTaxesoptionalnumber ≥ 0Defaults to 0.
netTotaloptionalnumber ≥ 0What the customer paid. Defaults to totalAmount − discount + totalTaxes. Turnover rent uses this figure.
currencyCodeoptionalstringA currency the mall has set up with an exchange rate. Defaults to USD.
saleTypeIdoptionalintegerOne of the mall's sale type ids.
paymentsoptionalarray of objects, up to 50
payments[].paymentAmountRequirednumber ≥ 0The amount paid this way.
payments[].paymentMethodoptionalintegerOne of the mall's payment method ids.
payments[].paymentCurrencyoptionalstringDefaults to the sale's currency.

Example

curl -X POST https://api.salesift.com/salesApi/shops/14/sales \
  -H "api-key: $SALESIFT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"transactionId": "T-48213", "occurredAt": "2026-10-18T14:02:11+03:00", "totalAmount": 99.0, "discount": 9.1, "totalTaxes": 0, "currencyCode": "USD", "saleTypeId": 1, "payments": [{"paymentMethod": 1, "paymentAmount": 89.9}]}'

Responses

StatusMeaning
201Stored.
200This transactionId was already stored; the stored sale is returned.
400The body is wrong: a missing or negative amount, a bad date, an unknown currency, sale type or payment method. Fix the data; don't retry unchanged.
403The key is missing, wrong, expired or revoked, or its role lacks the permission. May come back with no JSON body.
404Not found, or the key belongs to another shop.
413The body is over 1 MB. Send one sale per request.
{
  "id": 90412,
  "transactionId": "T-48213",
  "version": 1,
  "shopId": 14,
  "occurredAt": "2026-10-18T14:02:11+03:00",
  "currencyCode": "USD",
  "totalAmount": 99,
  "discount": 9.1,
  "totalTaxes": 0,
  "netTotal": 89.9,
  "fxRate": 1,
  "netTotalSystem": 89.9,
  "payments": [
    {
      "paymentAmount": 0,
      "paymentMethod": 1,
      "paymentCurrency": "USD"
    }
  ]
}
Response fields
FieldTypeNotes
idinteger
transactionIdstring
versioninteger
shopIdinteger
occurredAtISO 8601 date-time
currencyCodestring
totalAmountnumber
discountnumber
totalTaxesnumber
netTotalnumber
fxRatenumber
netTotalSystemnumberThe net total in the mall's reporting currency.
paymentsarray of objects
payments[].paymentAmountnumber ≥ 0The amount paid this way.
payments[].paymentMethodintegerOne of the mall's payment method ids.
payments[].paymentCurrencystringDefaults to the sale's currency.
Try it

Uses the API key from Authentication. Requests reach live data.

Correct a sale

PUT/salesApi/shops/{shopId}/sales/{saleId}

Send only the fields that change, plus a modificationReason. The original is kept and the change is saved as a new version with a new id. Always correct the newest version. The key's role needs the update sale permission.

Parameters

FieldTypeNotes
shopIdRequiredintegerIn the path. The shop's id. A key only reaches its own shop.
saleIdRequiredintegerIn the path. The id of the sale's newest version.

Body

FieldTypeNotes
modificationReasonRequiredstring, up to 255
occurredAtoptionalISO 8601 date-time
totalAmountoptionalnumber ≥ 0
discountoptionalnumber ≥ 0
totalTaxesoptionalnumber ≥ 0
netTotaloptionalnumber ≥ 0
currencyCodeoptionalstring
saleTypeIdoptionalinteger

Example

curl -X PUT https://api.salesift.com/salesApi/shops/14/sales/90412 \
  -H "api-key: $SALESIFT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"discount": 19.1, "modificationReason": "Discount left off at the till"}'

Responses

StatusMeaning
202Saved as a new version.
400The body is wrong: a missing or negative amount, a bad date, an unknown currency, sale type or payment method. Fix the data; don't retry unchanged.
403The key is missing, wrong, expired or revoked, or its role lacks the permission. May come back with no JSON body.
404Not found, or the key belongs to another shop.
409This sale was already modified; use its newest id.
{
  "id": 90412,
  "transactionId": "T-48213",
  "version": 1,
  "shopId": 14,
  "occurredAt": "2026-10-18T14:02:11+03:00",
  "currencyCode": "USD",
  "totalAmount": 99,
  "discount": 9.1,
  "totalTaxes": 0,
  "netTotal": 89.9,
  "fxRate": 1,
  "netTotalSystem": 89.9,
  "payments": [
    {
      "paymentAmount": 0,
      "paymentMethod": 1,
      "paymentCurrency": "USD"
    }
  ]
}
Response fields
FieldTypeNotes
idinteger
transactionIdstring
versioninteger
shopIdinteger
occurredAtISO 8601 date-time
currencyCodestring
totalAmountnumber
discountnumber
totalTaxesnumber
netTotalnumber
fxRatenumber
netTotalSystemnumberThe net total in the mall's reporting currency.
paymentsarray of objects
payments[].paymentAmountnumber ≥ 0The amount paid this way.
payments[].paymentMethodintegerOne of the mall's payment method ids.
payments[].paymentCurrencystringDefaults to the sale's currency.
Try it

Uses the API key from Authentication. Requests reach live data.

Replace a sale's payments

PUT/salesApi/shops/{shopId}/sales/{saleId}/payments

Replaces the sale's payments and saves a new version with a new id. Needs the update sale permission.

Parameters

FieldTypeNotes
shopIdRequiredintegerIn the path. The shop's id. A key only reaches its own shop.
saleIdRequiredintegerIn the path. The id of the sale's newest version.

Body

A JSON array of up to 50 items, each:

FieldTypeNotes
[].paymentAmountRequirednumber ≥ 0The amount paid this way.
[].paymentMethodoptionalintegerOne of the mall's payment method ids.
[].paymentCurrencyoptionalstringDefaults to the sale's currency.

Example

curl -X PUT https://api.salesift.com/salesApi/shops/14/sales/90412/payments \
  -H "api-key: $SALESIFT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"paymentMethod": 1, "paymentAmount": 50.0}, {"paymentMethod": 2, "paymentAmount": 29.9}]'

Responses

StatusMeaning
201Saved as a new version.
400The body is wrong: a missing or negative amount, a bad date, an unknown currency, sale type or payment method. Fix the data; don't retry unchanged.
403The key is missing, wrong, expired or revoked, or its role lacks the permission. May come back with no JSON body.
404Not found, or the key belongs to another shop.
409This sale was already modified; use its newest id.
{
  "id": 90412,
  "transactionId": "T-48213",
  "version": 1,
  "shopId": 14,
  "occurredAt": "2026-10-18T14:02:11+03:00",
  "currencyCode": "USD",
  "totalAmount": 99,
  "discount": 9.1,
  "totalTaxes": 0,
  "netTotal": 89.9,
  "fxRate": 1,
  "netTotalSystem": 89.9,
  "payments": [
    {
      "paymentAmount": 0,
      "paymentMethod": 1,
      "paymentCurrency": "USD"
    }
  ]
}
Response fields
FieldTypeNotes
idinteger
transactionIdstring
versioninteger
shopIdinteger
occurredAtISO 8601 date-time
currencyCodestring
totalAmountnumber
discountnumber
totalTaxesnumber
netTotalnumber
fxRatenumber
netTotalSystemnumberThe net total in the mall's reporting currency.
paymentsarray of objects
payments[].paymentAmountnumber ≥ 0The amount paid this way.
payments[].paymentMethodintegerOne of the mall's payment method ids.
payments[].paymentCurrencystringDefaults to the sale's currency.
Try it

Uses the API key from Authentication. Requests reach live data.

Read sales back

GET/salesApi/sales

The shop's sales between two date-times, newest first, up to 20,000 per request. Use it to reconcile the till at the end of the day.

Parameters

FieldTypeNotes
shopIdRequiredintegerIn the query string.
fromRequiredISO 8601 date-timeIn the query string. ISO 8601 date-time with offset.
toRequiredISO 8601 date-timeIn the query string.

Example

curl "https://api.salesift.com/salesApi/sales?shopId=14&from=2026-10-18T00:00:00+03:00&to=2026-10-19T00:00:00+03:00" \
  -H "api-key: $SALESIFT_API_KEY"

Responses

StatusMeaning
200Sales, newest first.
403The key is missing, wrong, expired or revoked, or its role lacks the permission. May come back with no JSON body.
[
  {
    "id": 90412,
    "transactionId": "T-48213",
    "version": 1,
    "shopId": 14,
    "occurredAt": "2026-10-18T14:02:11+03:00",
    "currencyCode": "USD",
    "totalAmount": 99,
    "discount": 9.1,
    "totalTaxes": 0,
    "netTotal": 89.9,
    "fxRate": 1,
    "netTotalSystem": 89.9,
    "payments": [
      {
        "paymentAmount": 0,
        "paymentMethod": 1,
        "paymentCurrency": "USD"
      }
    ]
  }
]
Response fields
FieldTypeNotes
[].idinteger
[].transactionIdstring
[].versioninteger
[].shopIdinteger
[].occurredAtISO 8601 date-time
[].currencyCodestring
[].totalAmountnumber
[].discountnumber
[].totalTaxesnumber
[].netTotalnumber
[].fxRatenumber
[].netTotalSystemnumberThe net total in the mall's reporting currency.
[].paymentsarray of objects
[].payments[].paymentAmountnumber ≥ 0The amount paid this way.
[].payments[].paymentMethodintegerOne of the mall's payment method ids.
[].payments[].paymentCurrencystringDefaults to the sale's currency.
Try it

Uses the API key from Authentication. Requests reach live data.

This month's total

GET/salesApi/shops/{shopId}/monthly

Parameters

FieldTypeNotes
shopIdRequiredintegerIn the path. The shop's id. A key only reaches its own shop.

Example

curl https://api.salesift.com/salesApi/shops/14/monthly \
  -H "api-key: $SALESIFT_API_KEY"

Responses

StatusMeaning
200The shop's total for the current month.
403The key is missing, wrong, expired or revoked, or its role lacks the permission. May come back with no JSON body.
Try it

Uses the API key from Authentication. Requests reach live data.

Public directory

Malls, shops and shop profiles. No key needed.

Get a mall and its filters

GET/public/malls/{mall}No key

Parameters

FieldTypeNotes
mallRequiredstringIn the path.

Example

curl https://api.salesift.com/public/malls/corniche-mall

Responses

StatusMeaning
200The mall, with the categories, types and floors that have listed shops.
404Not found, or the key belongs to another shop.
{
  "id": 1,
  "slug": "corniche-mall",
  "name": "Corniche Mall",
  "city": "string",
  "address": "string",
  "phone": "string",
  "website": "string",
  "openingHours": "string",
  "description": "string",
  "logoUrl": "string",
  "shopCount": 1,
  "filters": {
    "categories": [
      {
        "id": 1,
        "name": "string",
        "count": 1
      }
    ],
    "activities": [
      {
        "id": 1,
        "name": "string",
        "count": 1
      }
    ],
    "floors": [
      {
        "id": 1,
        "name": "string",
        "count": 1
      }
    ]
  }
}
Response fields
FieldTypeNotes
idinteger
slugstring
namestring
citystring or null
addressstring or null
phonestring or null
websitestring or null
openingHoursstring or null
descriptionstring or null
logoUrlstring or nullPath on api.salesift.com, such as /public/malls/corniche-mall/logo?v=…
shopCountinteger
filtersobject
filters.categoriesarray of objects
filters.categories[].idintegerAbsent for floors.
filters.categories[].namestring
filters.categories[].countinteger
filters.activitiesarray of objects
filters.activities[].idintegerAbsent for floors.
filters.activities[].namestring
filters.activities[].countinteger
filters.floorsarray of objects
filters.floors[].idintegerAbsent for floors.
filters.floors[].namestring
filters.floors[].countinteger
Try it

No key needed.

Search a mall's shops

GET/public/malls/{mall}/shopsNo key

Parameters

FieldTypeNotes
mallRequiredstringIn the path.
qoptionalstringIn the query string. Words to match in the name, short info, category or type.
categoryoptionalintegerIn the query string. Category id.
activityoptionalintegerIn the query string. Type (activity) id.
flooroptionalstringIn the query string.

Example

curl https://api.salesift.com/public/malls/corniche-mall/shops

Responses

StatusMeaning
200Listed shops, by name.
404Not found, or the key belongs to another shop.
[
  {
    "id": 1,
    "slug": "byblos-grill",
    "name": "Byblos Grill",
    "tagline": "Charcoal grills, mezze and fresh juices",
    "floor": "1",
    "apartmentNumber": "112",
    "openingHours": "string",
    "category": {
      "id": 1,
      "name": "string"
    },
    "activity": {
      "id": 1,
      "name": "string"
    },
    "logoUrl": "string"
  }
]
Response fields
FieldTypeNotes
[].idinteger
[].slugstring
[].namestring
[].taglinestring or null
[].floorstring or null
[].apartmentNumberstring or null
[].openingHoursstring or null
[].categoryobject or null
[].category.idinteger
[].category.namestring
[].activityobject or null
[].activity.idinteger
[].activity.namestring
[].logoUrlstring or null
Try it

No key needed.

Get a shop's profile

GET/public/malls/{mall}/shops/{shop}No key

Parameters

FieldTypeNotes
mallRequiredstringIn the path.
shopRequiredstringIn the path.

Example

curl https://api.salesift.com/public/malls/corniche-mall/shops/byblos-grill

Responses

StatusMeaning
200The shop's one-page profile and up to four shops in the same category.
404Not found, or the key belongs to another shop.
{
  "mall": {
    "id": 1,
    "slug": "corniche-mall",
    "name": "Corniche Mall",
    "city": "string",
    "address": "string",
    "phone": "string",
    "website": "string",
    "openingHours": "string",
    "description": "string",
    "logoUrl": "string",
    "shopCount": 1
  },
  "shop": {
    "id": 1,
    "slug": "byblos-grill",
    "name": "Byblos Grill",
    "tagline": "Charcoal grills, mezze and fresh juices",
    "floor": "1",
    "apartmentNumber": "112",
    "openingHours": "string",
    "category": {
      "id": 1,
      "name": "string"
    },
    "activity": {
      "id": 1,
      "name": "string"
    },
    "logoUrl": "string",
    "description": "string",
    "website": "string",
    "instagram": "string",
    "facebook": "string",
    "phone": "string",
    "coverUrl": "string"
  },
  "related": [
    {
      "id": 1,
      "slug": "byblos-grill",
      "name": "Byblos Grill",
      "tagline": "Charcoal grills, mezze and fresh juices",
      "floor": "1",
      "apartmentNumber": "112",
      "openingHours": "string",
      "category": {
        "id": 1,
        "name": "string"
      },
      "activity": {
        "id": 1,
        "name": "string"
      },
      "logoUrl": "string"
    }
  ]
}
Response fields
FieldTypeNotes
mallobject
mall.idinteger
mall.slugstring
mall.namestring
mall.citystring or null
mall.addressstring or null
mall.phonestring or null
mall.websitestring or null
mall.openingHoursstring or null
mall.descriptionstring or null
mall.logoUrlstring or nullPath on api.salesift.com, such as /public/malls/corniche-mall/logo?v=…
mall.shopCountinteger
shopobject
shop.idinteger
shop.slugstring
shop.namestring
shop.taglinestring or null
shop.floorstring or null
shop.apartmentNumberstring or null
shop.openingHoursstring or null
shop.categoryobject or null
shop.category.idinteger
shop.category.namestring
shop.activityobject or null
shop.activity.idinteger
shop.activity.namestring
shop.logoUrlstring or null
shop.descriptionstring or null
shop.websitestring or null
shop.instagramstring or null
shop.facebookstring or null
shop.phonestring or null
shop.coverUrlstring or null
relatedarray of objects
related[].idinteger
related[].slugstring
related[].namestring
related[].taglinestring or null
related[].floorstring or null
related[].apartmentNumberstring or null
related[].openingHoursstring or null
related[].categoryobject or null
related[].category.idinteger
related[].category.namestring
related[].activityobject or null
related[].activity.idinteger
related[].activity.namestring
related[].logoUrlstring or null
Try it

No key needed.