Snag Solutions - API Docs (v 0.1)
What’s Changed
GET /api/loyalty/badges
Return Type:
Changed response : 200 OK200
-
Changed content type :
application/json-
Changed property
data(array) Changed items (object):Response returned upon successful fetching of the badges.
-
Added property
hideInUi(boolean)Whether to hide this badge in the user interface
-
Changed property
loyaltyBadgeUsers(array)Array of user badges
Changed items (object):- Added property
hideInUi(boolean)Whether to hide this badge in the user interface
- Added property
-
Added property
-
Changed property
POST /api/loyalty/badges
Request:
Changed content type :application/json
- Added property
hideInUi(boolean)Whether to hide this badge in the user interface
Return Type:
Changed response : 200 OK200
-
Changed content type :
application/json-
Added property
hideInUi(boolean)Whether to hide this badge in the user interface
-
Changed property
loyaltyBadgeUsers(array)Array of user badges
Changed items (object):- Added property
hideInUi(boolean)Whether to hide this badge in the user interface
- Added property
-
Added property
POST /api/loyalty/badges/
Request:
Changed content type :application/json
- Added property
hideInUi(boolean)Whether to hide this badge in the user interface
Return Type:
Changed response : 200 OK200
-
Changed content type :
application/json-
Added property
hideInUi(boolean)Whether to hide this badge in the user interface
-
Changed property
loyaltyBadgeUsers(array)Array of user badges
Changed items (object):- Added property
hideInUi(boolean)Whether to hide this badge in the user interface
- Added property
-
Added property
DELETE /api/loyalty/badges/
Return Type:
Changed response : 200 OK200
-
Changed content type :
application/json-
Added property
hideInUi(boolean)Whether to hide this badge in the user interface
-
Changed property
loyaltyBadgeUsers(array)Array of user badges
Changed items (object):- Added property
hideInUi(boolean)Whether to hide this badge in the user interface
- Added property
-
Added property
Result
API changes are backward compatible