Customer API
Get customer store credit balances; make adjustments based on their actions with the Shopwaive Customer API
GET customer endpoint
GET customer endpointAuthorizations
X-Shopwaive-Access-TokenstringRequired
Path parameters
customer_emailstringRequired
The email of the customer to retrieve
Responses
200
Successfully fetched customer account
application/json
default
Unexpected error. Method not allowed
application/json
get
/api/customer/{customer_email}Header
key
value
Response Body
key
value
offers {} object
key
value
offers.items [] object
key
value
activity[] object
key
value
POST customer endpoint
POST customer endpointAuthorizations
X-Shopwaive-Access-TokenstringRequired
Body
customer_emailstringOptionalExample:
[email protected]balancenumberRequiredExample:
450notestringOptionalExample:
Refunded customer for Order #2839083271expirationdatestringOptionalExample:
2024-05-20T18:50:15.738ZexpiresstringOptionalExample:
falseResponses
200
Successfully set customer balance
application/json
default
Unexpected error. Method not allowed
application/json
post
/api/customerHeader
key
value
Request Body
key
value
Response Body
key
value
PUT customer endpoint
PUT customer endpointAuthorizations
X-Shopwaive-Access-TokenstringRequired
Body
customer_emailstringOptionalExample:
[email protected]amountnumberRequiredExample:
250notestringOptionalExample:
Customer granted reward points as affiliate.expirationdatestringOptionalExample:
2026-03-28T18:50:15.738ZexpiresstringOptionalExample:
trueResponses
200
Successfully adjusted customer balance
application/json
default
Unexpected error. Method not allowed
application/json
put
/api/customerHeader
key
value
Request Body
key
value
Request Response
key
value
PUT bulk customer endpoint
PUT bulk customer endpointLast updated