Skip to main content

Snag Solutions - API Docs (v 0.1)


What’s Changed


GET /api/loyalty/rule_groups
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object):
      Schema for a get loyalty rule groups response
      • Changed property loyaltyGroupItems (array) Changed items (object):
        • Changed property loyaltyRule (object)
          • Changed property type (string) Removed enum value:
            • shopify_purchase
POST /api/loyalty/rules
Request:
Changed content type : application/json
  • Changed property type (string)
    Type of loyalty rule being created
    Removed enum value:
    • shopify_purchase
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property type (string)
      Type of loyalty rule being created
      Removed enum value:
      • shopify_purchase

Result


API changes broke backward compatibility