Manage loyalty ranks and reward thresholds. See the Points guide.
List point ranks
Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide. Returns the first page of up to 100 ranks with pagination metadata; these routes do not expose page or limit query parameters.
Responses
Success
successbooleanExample: trueresponseobject[]Array with point ranks
resultsnumberExample: 233pagesnumberExample: 100pagenumberExample: 4per_pagenumberExample: 2request_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Create point rank
Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide. POST and PUT require the full payload; PUT replaces settings. Use accepted language IDs and an image URL on the configured CDN.
Request Body
descriptionsobject · requiredRank descriptions keyed by accepted numeric language IDs.
statusinteger · enum · requiredEnum values:01pointsnumber · requiredReward total required for this rank. Default ranks remain at zero.
imagestring · uri · requiredImage URL matching the configured CDN URL pattern.
settingsobject · required
Responses
Success
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Get point rank
Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide.
path Parameters
point_rank_idinteger · min: 1 · required
Responses
Success
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Update point rank
Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide. POST and PUT require the full payload; PUT replaces settings. Use accepted language IDs and an image URL on the configured CDN.
path Parameters
point_rank_idinteger · min: 1 · required
Request Body
descriptionsobject · requiredRank descriptions keyed by accepted numeric language IDs.
statusinteger · enum · requiredEnum values:01pointsnumber · requiredReward total required for this rank. Default ranks remain at zero.
imagestring · uri · requiredImage URL matching the configured CDN URL pattern.
settingsobject · required
Responses
Success
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49
Delete point rank
Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide. The default rank cannot be deleted.
path Parameters
point_rank_idinteger · min: 1 · required
Responses
Success
successbooleanExample: trueresponseobjectrequest_idstringExample: 1ef2da0b-6f98-6fec-b13f-06c63b84be49