Skip to main content

Correct Channel Health Flag Carrier

POST 

/api/channel-health/flags/:flag/correct-carrier

Corrects the carrier (and optionally the tracking number) of a flagged shipment and re-sends it to the sales channel, as a background job. The flag resolves once the corrected confirmation is accepted. With remember_mapping, the 3PL's shipping-method string is mapped to the chosen carrier so future shipments resolve automatically (ShipHero fulfillments).

Required scope: channel-health:write

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

Body:

  • shipping_carrier_id (integer, required): the carrier the shipment actually went with
  • tracking_number (string, optional, max 191): replacement tracking number; omit to keep the current one
  • remember_mapping (boolean, optional, default false)

Responds 202 with the background job's tracked_job_log_id. Returns 422 with reason when the flag can't be corrected: not_open, not_fixable (informational checks), no_fulfillment, delivered (marketplaces only accept tracking corrections before delivery).

Authentication: Bearer token (Personal Access Token) with the channel-health:write scope. The user needs the Sales Orders › Fulfill permission.

Request​

Responses​

Accepted

Response Headers
    Content-Type