Validates the saved template and queues the existing Meta flow. Other states return 409
INVALID_STATE. No category-change option is introduced.
Optimistic lock (DEP-1): send expectedUpdatedAt with the ISO 8601 updatedAt you read. If
the stored version is a different instant, the API answers 409 TEMPLATE_CHANGED with the
stored updatedAt in extra and does not submit. Without it, the submit is not locked. The
status check runs first, so a template that is no longer DRAFT or Error still answers
INVALID_STATE.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200Template in Requested state
400Invalid template, missing WABA, invalid body (a key other than expectedUpdatedAt and recommendationAudit, or expectedUpdatedAt not ISO 8601), or URL_SHORTENER_REQUIRES_USER_SESSION (service caller without a user session submitting a draft that still needs URL shortening)
401Unauthorized
404Template not found for retailer
500Submission failed