iStores API

Points

Endpoint:https://api.istores.co.il

Manage loyalty ranks and reward thresholds. See the Points guide.


List point ranks

GET
https://api.istores.co.il
/points

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.

List point ranks › Responses

Success

  • successboolean
    Example: true
  • responseobject[]

    Array with point ranks

  • resultsnumber
    Example: 233
  • pagesnumber
    Example: 100
  • pagenumber
    Example: 4
  • per_pagenumber
    Example: 2
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Create point rank

POST
https://api.istores.co.il
/points

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.

Create point rank › Request Body

  • descriptionsobject · required

    Rank descriptions keyed by accepted numeric language IDs.

  • statusinteger · enum · required
    Enum values:
    0
    1
  • pointsnumber · required

    Reward total required for this rank. Default ranks remain at zero.

  • imagestring · uri · required

    Image URL matching the configured CDN URL pattern.

  • settingsobject · required

Create point rank › Responses

Success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Get point rank

GET
https://api.istores.co.il
/points/{point_rank_id}

Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide.

Get point rank › path Parameters

  • point_rank_idinteger · min: 1 · required

Get point rank › Responses

Success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Update point rank

PUT
https://api.istores.co.il
/points/{point_rank_id}

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.

Update point rank › path Parameters

  • point_rank_idinteger · min: 1 · required

Update point rank › Request Body

  • descriptionsobject · required

    Rank descriptions keyed by accepted numeric language IDs.

  • statusinteger · enum · required
    Enum values:
    0
    1
  • pointsnumber · required

    Reward total required for this rank. Default ranks remain at zero.

  • imagestring · uri · required

    Image URL matching the configured CDN URL pattern.

  • settingsobject · required

Update point rank › Responses

Success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49

Delete point rank

DELETE
https://api.istores.co.il
/points/{point_rank_id}

Requires API permission points and an active points app. Scoped to the authenticated store. See Points guide. The default rank cannot be deleted.

Delete point rank › path Parameters

  • point_rank_idinteger · min: 1 · required

Delete point rank › Responses

Success

  • successboolean
    Example: true
  • responseobject
  • request_idstring
    Example: 1ef2da0b-6f98-6fec-b13f-06c63b84be49