Bulk Update Store Credits
Changed onBulk update multiple user store credit records. <br> 批量更新多個 users 購物金
Request
- Base URLhttps://open.shopline.io/v1
- URLhttps://open.shopline.io/v1/user_credits/bulk_update
- AuthHTTP bearer
Request body
Example request
{
"user_ids": [
"6512a1b2c3d4e5f601234567",
"6512a1b2c3d4e5f601234568"
],
"value": 100,
"remarks": "Holiday bonus",
"performer_id": "performer1",
"expired_at": "2027-12-31T23:59:59Z",
"email_target": 1,
"sms_notification_target": 1
}Response
Successfully updated the store credits. <br> 成功更新購物金記錄
Example response
{
"result": true,
"job_id": "67596dd037cdd80016e58022"
}Changes
- breaking
request body became required
- breaking
the
request property's minItems was increased to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the
/request property's minLength was increased from0to1 - breaking
the
request property type changed fromnumbertointeger - warning
the
request property's maxLength was set to50 - warning
the
request property's max was set to999999.00 - warning
the
request property's min was set to1.00 - warning
removed the optional property
from the response with the status - info
the
request property default value1was added - info
the
request property default valuefalsewas added - info
the
request property default value1was added - info
the response property
became required for the status - info
added the required property
to the response with the status
- breaking