sendSalesMail
Send notification emails for a specific order: order confirmation, payment receipt, or shipping notice. Provide the sale ID and email type (accepted, paid, delivered) to update the mail state automatically.
Instructions
指定受注に対して受注メール・入金確認メール・商品発送メールなどの通知メールを送信します。sale_id で対象受注を特定し、mail オブジェクトで送信種別やオプションを指定してください。送信後は該当種別のメール送信状態(accepted_mail_state / paid_mail_state / delivered_mail_state)が sent に更新されます。分割された受注の場合、受注メール・入金確認メールは親受注にのみ送信可能で、子受注には送れません。受注の一覧は getSales、詳細は getSale を使用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sale_id | Yes | ||
| No |