Query a list of store credit entries
GET: /wp-json/wc-store-credits/v1/entries
Query Parameters
Required
Type
Default value
Description
GET: http://example.com/wp-json/wc-store-credits/v1/entries?user_id=10Headers:
{
...
X-TOTAL: 100
}
[
{
"key": "35",
"id": 35,
"amount_raw": 45,
"amount": "$45.00",
"type": "increase",
"activity": "Refunded order",
"user_id": 1,
"date": "2021-11-16 13:12:10",
"rel_link": "http://acfw.test/my-account/view-order/436/",
"rel_label": "View Order",
"note": ""
},
{
"key": "34",
"id": 34,
"amount_raw": 10,
"amount": "$10.00",
"type": "increase",
"activity": "Admin adjustment (increase)",
"user_id": 1,
"date": "2021-11-16 13:10:56",
"rel_link": "",
"rel_label": "-",
"note": ""
},
...
]Last updated