-
-
Notifications
You must be signed in to change notification settings - Fork 74
Add update_contact_list endpoint to add user to a list #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Missing endpoint that i need for my project
Code Climate has analyzed commit 36b78f5 and detected 0 issues on this pull request. View more on Code Climate. |
I'm new to active campaign. @robypez Should I be looking into this gem or the active-campaign-rails gem, or just build it directly into the system? I'm not sure if this gem is working based on the status and dates I'm seeing on requests, commits, etc |
I'd accept the PR with test coverage and a working implementation: https://developers.activecampaign.com/reference#update-list-status-for-contact Right now, it seems the implementation is broken. |
# @return [Hash] a hash with information about the newly created contact | ||
# | ||
|
||
"list": 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look like proper ruby syntax to me?
"status": 1 | ||
|
||
def update_contact_list(params) | ||
post("contactList", contact: params) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://developers.activecampaign.com/reference#update-list-status-for-contact it should be contact_list: params
not contact: params
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the url is invalid, should be 'contactLists'
Missing endpoint that i need for my project