Skip to main content

Send Corrected Ship Notice

POST 

/api/spscommerce/:integrationInstance/documents/:document/send-corrected

Send the retailer a replacement for a ship notice (856) that already went out: a new 856 with TsetPurposeCode 05 (replace) and the same ShipmentIdentification, rebuilt from the shipment as it is now, queued to send at once. Only for a trading partner whose document rules include accepts_replacement_ship_notice ("Accepts a replacement 856 (purpose 05)"), which is off by default. The sent 856 stays sent, marked superseded (superseded_reason "corrected").

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token and the integrations.update permission.

Returns 422 when the trading partner doesn't accept replacements, the shipment's 856 hasn't gone out yet (regenerate it instead), or a newer 856 already replaced it; 404 when it belongs to another connection.

Request​

Responses​

Accepted

Response Headers
    Content-Type