Mailchimp-API-3.0-PHP icon indicating copy to clipboard operation
Mailchimp-API-3.0-PHP copied to clipboard

Make ApiResource::postToActionEndpoint() public

Open andrii-pukhalevych opened this issue 3 years ago • 2 comments

Is it possible to make ApiResource::postToActionEndpoint() public?

Some post actions (like Delete list member) are not implemented in the lib and and its not possible to call that actions manually

andrii-pukhalevych avatar May 21 '21 08:05 andrii-pukhalevych

We can definitely add any missing action endpoints to their respective resource. I can work on adding this one later today. What others have you noticed are missing?

Jhut89 avatar May 24 '21 14:05 Jhut89

Just did diff between implemented actions and mailchimp swagger json

Full list of missing actions seems to be following:

/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent
/campaigns/{campaign_id}/actions/create-resend
/customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger
/automations/{workflow_id}/actions/archive

andrii-pukhalevych avatar May 24 '21 14:05 andrii-pukhalevych