Enable an addon

POST /api/v1/addon-subscriptions/{addonSubscription_uuid}/enable

Headers

Path parameters

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • enabled string

      Determines if the addon is enabled

    • addon object

      Details about the addon subscribed to

      Additional properties are allowed.

POST /api/v1/addon-subscriptions/{addonSubscription_uuid}/enable
curl \
 -X POST https://api.plannrcrm.com/api/v1/addon-subscriptions/addonSubscription_uuid/enable \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"
Response examples (200)
{
  "uuid": "b75c6fec-5300-446e-bbe2-53f0b7f01b27",
  "addon": {
    "id": "transact_valuation_feed",
    "name": "Transact Valuation Feed",
    "price": {
      "amount": {
        "example": "4000",
        "description": "Money amount at their lowest denominator (for example: pennies)"
      },
      "currency": {
        "example": "GBP",
        "description": "Currency of the money"
      },
      "formatted": {
        "example": "£40.00",
        "description": "Money amount formatted with currency"
      }
    },
    "params": {
      "pin": {
        "type": "text",
        "inputs": [],
        "example": "secret-password-123",
        "options": [],
        "required": false,
        "list_type": null,
        "description": "TRDS Password (Not Your Transact Password)"
      },
      "third_pin": {
        "type": "text",
        "inputs": [],
        "example": "secret-password-123",
        "options": [],
        "required": false,
        "list_type": null,
        "description": "Third TRDS Password (Not Your Transact Password)"
      },
      "second_pin": {
        "type": "text",
        "inputs": [],
        "example": "secret-password-123",
        "options": [],
        "required": false,
        "list_type": null,
        "description": "Second TRDS Password (Not Your Transact Password)"
      },
      "access_code": {
        "type": "text",
        "inputs": [],
        "example": "555-123-456",
        "options": [],
        "required": false,
        "list_type": null,
        "description": "Transact Number"
      },
      "third_access_code": {
        "type": "text",
        "inputs": [],
        "example": "555-123-456",
        "options": [],
        "required": false,
        "list_type": null,
        "description": "Third Transact Number"
      },
      "second_access_code": {
        "type": "text",
        "inputs": [],
        "example": "555-123-456",
        "options": [],
        "required": false,
        "list_type": null,
        "description": "Second Transact Number"
      }
    },
    "category": "valuation_feed_integration",
    "icon_url": "https://plannrcrm.com/icon.png",
    "banner_url": "https://plannrcrm.com/banner.png",
    "is_visible": true,
    "description": "Provides an automatic holding and valuation feed via a transact integration",
    "setup_instructions": "Retrieve your transact api key from https://www.transact-online.co.uk/contact-us/",
    "can_be_subscribed_to": true
  },
  "enabled": "true",
  "created_at": "2024-11-20T13:24:04+00:00",
  "updated_at": "2024-11-20T13:24:04+00:00"
}