Skip to main content

Preview 3PL Email

POST 

/api/amazon/:integrationInstance/draft-inbound-plans/:draft_inbound_plan/fulfillment/email/preview

Preview the "Email the 3PL" compose dialog: substitutes the email tokens in the supplied subject/body server-side and returns the rendered result (no email is sent). Available tokens: {{reference}}, {{portal_link}}, {{instructions}}, plus the per-shipment {{shipment_id}}, {{ship_to}}, {{ship_from}}, {{carrier}}, {{method}}, {{notes}} and {{attachments_list}} — resolved against the first confirmed shipment for the preview; the shipping-details send re-resolves them per shipment. Body: subject (required, max 255), body (required HTML string), cc (optional array of email addresses).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Request

Responses

OK

Response Headers
    Content-Type