Customers
Get Customers
Retrieves the customers.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/json
Optionalpage
integerperPage
integerMust be at least 1. Must not be greater than 100.
orderColumn
stringValue in:
"id" | "email" | "discord_id" | "discord_username" | "balance" | "total_completed" | "total_spent_usd" | "last_completed_at" | "newsletter_at"
orderDirection
stringValue in:
"asc" | "desc"
id
stringemail
stringdiscord_id
stringdiscord_username
stringsubscribed
stringPath Parameters
shopId
RequiredintegerEdit Customer Balance
Adds or deducts balance to/from a customer in a shop.
Authorization
Authorization
RequiredBearer <token>You can retrieve your API key by visiting your dashboard and clicking Account > API.
In: header
Request Body
application/json
Requiredamount
RequirednumberMust be at least -1000. Must not be greater than 1000.
description
stringMust not be greater than 255 characters.
Path Parameters
shopId
RequiredintegercustomerId
Requiredstring