PATCH
/v1/postflows/{id}Update a Postflow
Name, description, version policy, finish, destination, dispatch strategy and approval; the template cannot change.
Scope
postflows.writePath parameters
idstringrequiredBody
namestringmin length 1max length 160descriptionstringmax length 2000versionPolicyenumdefault "LATEST_PUBLISHED"LATEST_PUBLISHEDPINNEDpinnedVersionIdstringmin length 1finishstringmin length 1max length 40destinationstringmin length 2max length 2default "NL"dispatchobjectdefault {"strategy":"IMMEDIATE","strictMinimum":false}4 fields
strategyenumdefault "IMMEDIATE"IMMEDIATESEND_DATEMIN_COUNT_MAX_WAITminCountintegermin 1max 1000000maxWaitDaysintegermin 1max 365strictMinimumbooleandefault falserequiresApprovalbooleanadvertisingCategorystring or nullReturns
16 fields of the 200 answer
idstringrequirednamestringrequireddescriptionstring or nullrequiredstatusenumrequiredACTIVEPAUSEDARCHIVEDtemplateIdstringrequiredversionPolicyenumrequiredLATEST_PUBLISHEDPINNEDpinnedVersionIdstring or nullrequiredproductIdstringrequiredproductSpecificationIdstringrequiredfinishstringrequireddestinationstringrequireddispatchobjectrequired4 fields
strategyenumrequiredIMMEDIATESEND_DATEMIN_COUNT_MAX_WAITminCountinteger or nullrequiredmaxWaitDaysinteger or nullrequiredstrictMinimumbooleanrequiredrequiresApprovalboolean or nullrequiredadvertisingCategorystring or nullrequiredcreatedAtdate-timerequiredupdatedAtdate-timerequiredResponses
200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
409Postflow archived (postflow_archived)
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)