PUT
/
api
/
org
/
v1
/
sales
/
daily
curl --request PUT \
  --url https://console.lomaplatform.com/api/org/v1/sales/daily \
  --header 'API-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "date": "2024-06-14",
  "locations": {
    "loc_jsnFcOej5oD": {
      "net_sales": 1201,
      "transaction_count": 12
    },
    "loc_PP4ZcUxYG2g": {
      "net_sales": 3291,
      "transaction_count": 32
    }
  }
}'
This response does not have an example.

Authorizations

API-Key
string
header
required

API Key for the organization

Body

application/json
date
string
required
locations
object
required

Response

204
_mintlify/placeholder

Data upserted successfully.