Update store credit entry
Last updated
Last updated
Method
Endpoint
PUT
/wp-json/wc-store-credits/v1/entries/{entry_id}
amount
no
float
-
Entry amount value.
user_id
no
integer
-
Customer ID
type
no
string
-
Entry type: increase
or decrease
action
no
string
-
The action or source slug of the entry.
This requires a valid source/action that is registered by code (learn more).
date
no
string
current date & time
Date and time the entry was created
date_format
no
string
Y-m-d H:i:s
Date format of the provided date values.
object_id
no
integer
0
The ID of related object of the entry. This can either be the ID of an order, coupon, user or post.