Skip to main content

Preview Fulfillment Email

POST 

/api/walmart/:integrationInstance/wfs/inbound-shipments/:shipment/fulfillment/email/preview

Render the operator's edited subject/body with the live tokens substituted, without sending anything — powers the compose dialog's preview pane. Tokens {{reference}} (the WFS shipment id), {{portal_link}} (a clickable anchor to the secure fulfilment portal), and {{instructions}} (the rendered prep instructions) are resolved server-side; the subject is treated as plain text, the body as HTML. Returns 422 if no fulfilment packet has been built for this shipment yet.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Authentication: Requires Bearer token.

Fields:

  • subject (string, required, max 255): the final subject line (tokens substituted server-side).
  • body (string, required): the final HTML body (tokens substituted server-side).
  • cc (string[], optional, nullable, each a valid email): additional CC recipients (ignored by preview; used on send).
  • from_mode (string, optional, nullable, one of: merchant, system): sender-identity override. 'merchant' sends From the store's own domain (needs the SPF/DKIM setup in email_from_dns_setup); 'system' sends via SKU.io with the operator as Reply-To. Null = the tenant's default (email_from_default_mode).

Request

Responses

OK

Response Headers
    Content-Type