activities

PUT /v2/activities/{name}/{merchant_id}

Changed on

Request

  • Base URL
    https://api.loyaltylion.com
  • URL
    https://api.loyaltylion.com/v2/activities/{name}/{merchant_id}
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

namestring required

A built-in or custom activity rule name. If you’re tracking a custom rule, this should be the rule identifier; if you’re tracking a built-in activity, the name must be prefixed with a $, for example, $signup

merchant_idstring required

The unique ID provided when you initially tracked this activity

Request body

state'approved' | 'declined' | 'void' required

The new state of this activity

Response

204

'' required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status