POST
/v1/postbatches/{id}/approveApprove a Postbatch
Pins the template version, locks the quote in a price snapshot, reserves the balance or checks the credit for the whole quote, and moves every valid item to READY for the next planned run or a later planned run of the product group (targetRunId). Items that need attention are skipped only with skipInvalid.
Scope
postbatches.approvePath parameters
idstringrequiredBody
targetRunIdstringmin length 1max length 40skipInvalidbooleandefault falseReturns
18 fields of the 200 answer
idstringrequirednamestringrequiredcampaignIdstring or nullrequiredadvertisingCategorystring or nullrequiredstatusenumrequiredDRAFTIMPORTINGVALIDATEDPENDING_APPROVALAPPROVEDSCHEDULED_FOR_RUNIN_PRODUCTIONCOMPLETEDCANCELLEDtemplateIdstringrequiredtemplateVersionIdstringrequiredproductobjectrequired4 fields
idstringrequiredspecificationIdstringrequiredfinishstringrequireddestinationstringrequiredcountsobjectrequiredimportIdstring or nullrequiredapprovedAtdate-time or nullrequiredtargetRunIdstring or nullrequiredpriceSnapshotIdstring or nullrequireditemCountAtApprovalinteger or nullrequiredcancelledAtdate-time or nullrequiredcompletedAtdate-time or nullrequiredcreatedAtdate-timerequiredupdatedAtdate-timerequiredResponses
200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)