PUT
Set credit note pipeline
Scope:
sales:invoices.writehttps://api.holded.com/api/v2/credit-notes/{creditNoteId}/pipelineMoves the credit note to a specific pipeline stage. You must provide the `pipeline_id` of the target stage.
Parameters
Path parameters
creditNoteId
stringrequiredCredit Note ID (24-char hex ObjectId)
Request body
object
pipeline_idstringrequired
Request
python
import requests
url = "https://api.holded.com/api/v2/credit-notes/{creditNoteId}/pipeline"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {
"pipeline_id": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Responses
Response
json
{
"status": "ok"
}Success responses
200Pipeline setapplication/jsonobject
statusstringrequired
Confirmation status
Error responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Credit note not found.application/json429Rate limit exceededapplication/json500Internal server errorapplication/jsonobject
typestring
titlestring
statusinteger
detailstring