cURL
curl --request POST \ --url https://admin.snagsolutions.io/api/loyalty/rule_groups/create \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "websiteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "subTitle": "<string>", "isCollapsible": false, "isRequired": false, "sortId": 123 } '
{ "websiteId": "<string>", "organizationId": "<string>", "id": "<string>", "name": "<string>", "isRequired": true, "sortId": 123, "isCollapsible": true, "subTitle": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Create a new loyalty rule groups
Body
Schema for a create loyalty rule groups body
200
Was this page helpful?