Get single customer statistics and sources
GET: /wp-json/wc-store-credits/v1/customers/{user_id}
GET: http://example.com/wp-json/wc-store-credits/v1/entries/1{
"status": [
{
"label": "Total Credits",
"key": "total",
"amount": "$553.00"
},
{
"label": "Unclaimed Credits",
"key": "unclaimed",
"amount": "$553.00"
},
{
"label": "Claimed Credits",
"key": "claimed",
"amount": "$0.00"
},
{
"label": "Expired Credits",
"key": "expired",
"amount": "$0.00"
},
{
"label": "Deducted Credits",
"key": "deducted",
"amount": "$0.00"
}
],
"sources": [
{
"label": "Purchased gift cards",
"key": "gift_card",
"amount": "$0.00"
},
{
"label": "Refunded order",
"key": "refund",
"amount": "$0.00"
},
{
"label": "Admin adjustment (increase)",
"key": "admin_increase",
"amount": "$0.00"
}
],
"customer": "Test Test"
}Last updated