PointsUpdateInput
Fields
notesCustomers ● String
Leave a message for the customer. Customers can view the message in the points history of the member panels and member user center. Maximum 128 characters.
remarksInternal ● String
Remarks. Visible only to internal staff. Maximum 128 characters.
pointsUpdateType ● PointsUpdateType
Relevant only when updateWay = MODIFY_EXISTING.
More
expiryTime ● Date
Adjusted points expiration time (optional)
  • If the merchant configures points obtained in different ways to have a unified validity period:
    • When this field is null, the points will expire according to the points expiration time uniformly configured in the store
    • If this field is not empty, it will take effect after being converted into natural days based on the input in this field
  • If the merchant configures points obtained in different ways to have different validity periods:
    • When this field is null, the points will be permanently valid
    • If this field is not empty, it will take effect after being converted into natural days based on the input in this field
customerId ● String
customer Id
pointsUpdateWay ● PointsUpdateWay
Points update way.
More
updatedValue ● String
The number of points updated this time
businessId ● String
The unique identifier of the transaction to modify the points. Maximum 64 characters.
Status and error codes
For detailed information about common codes, see Status and error codes.
Map
PointsUpdateInput
Was this article helpful to you?