Returns a single customers periodic spend. Includes monthly, quarterly, semi-annual, annual, and all-time spend.
If the data field in the return body is undefined, the customer has no eligible SBT spend history (or the customer does not exist).
You can use this endpoint to track a customers progress towards the next tier.
Security
api_key
- https://public.inveterateapi.comhttps://public.inveterateapi.com/v2.0/admin/members/{id}/sbt
curl -i -X GET \
'https://public.inveterateapi.com/v2.0/admin/members/{id}/sbt' \
-H 'X-Inveterate-Api-Key: YOUR_API_KEY_HERE'Returned upon successful direct action to our database. Action is immediate.
The message associated with the response. Generally, the message only confirms the requested action. In the case of errors, the message will give insight into the source of the error.
Response
{ "message": "Success", "data": { "id": 1, "name": "John Doe" } }