Update store credit entry
Last updated
Last updated
Requirements:
Logged-in user
user role with manage_woocommerce
user capability
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 ().
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.
See:
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.