Closed hamcher closed 4 years ago
use plural pipelines instead of pipeline in the url of create and update methods according to the description of hubspot
pipelines
pipeline
https://api.hubapi.com/crm-pipelines/v1/pipelines/deals?hapikey=demo
def create(self, object_type, data=None, **options): data = data or {} return self._call( "pipeline/{}".format(object_type), data=data, method="POST", **options ) def update(self, object_type, key, data=None, **options): data = data or {} return self._call( "pipeline/{}/{}".format(object_type, key), data=data, method="PUT", **options )
Hmm, interesting - I'll see if I can get that updated here soon.
This fix is now live on pip as version 3.2.42
3.2.42
Thanks again for bringing this to my attention! 😄
use plural
pipelines
instead ofpipeline
in the url of create and update methods according to the description of hubspothttps://api.hubapi.com/crm-pipelines/v1/pipelines/deals?hapikey=demo