Skip to content

Document template_id as optional in send_email order action - #285

Open
staskus wants to merge 1 commit into
trunkfrom
update/send-email-optional-template-id
Open

Document template_id as optional in send_email order action#285
staskus wants to merge 1 commit into
trunkfrom
update/send-email-optional-template-id

Conversation

@staskus

@staskus staskus commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Documents that template_id is now optional in POST /orders/{id}/actions/send_email
  • When omitted, the server auto-selects the most appropriate template based on order status, falling back to customer_invoice

Related to: woocommerce/woocommerce#63556

image

@staskus
staskus marked this pull request as ready for review March 23, 2026 09:05
@staskus
staskus requested a review from iamgabrielma March 23, 2026 09:05
@iamgabrielma iamgabrielma self-assigned this Mar 24, 2026

@iamgabrielma iamgabrielma left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants