PandaDoc / pandadoc-api-python-client

The Official PandaDoc Python client SDK
https://developers.pandadoc.com/reference/about
MIT License
19 stars 4 forks source link

Error raised Method not allowed with edit_document_recipient API #30

Closed sealed-rayboutotte closed 3 months ago

sealed-rayboutotte commented 3 months ago

When trying to call the api edit_document_recipient, I get Method \"PATCH\" not allowed.

api_instance = document_recipients_api.DocumentRecipientsApi(api_client)
document_recipient_edit_request = DocumentRecipientEditRequest(email=email)
document_response = api_instance.edit_document_recipient(document_id, recipient_id, document_recipient_edit_request)

Here is the error I get:

HTTP response body: {"type":"request_error","detail":"Method \"PATCH\" not allowed."}

This is on v6.1.0. Docs state that this API is PATCH.

sealed-rayboutotte commented 3 months ago

Looks like this is fixed in v6.2.0, closing.