AddPointsBody
- pointsType: integermin:1required
Integer numbers.
- descriptionType: string
Optional, general purpose text to describe or tag this point credit e.g. "Referral", "Legacy Loyalty Import", "Manual credit (STOREID:ABC123)" that will appear in the Loyalty Activity log.
- expirationType: integer
_days This field may be provided instead of
expires_at(both will result in an error). If set, points will expire this many days from the time of issuance, following program settings for expiration buffering, time, and time zone. - expiresType: stringFormat: date-time
_at Optional RFC 3339 datetime after which these points will expire. Not setting expires_at will result in points not expiring.
- pointType: integer
_balance read-onlyPoint balance after crediting the points.
Examples
{
"points": 1,
"description": "string",
"expires_at": "string",
"expiration_days": "integer"
}