Skip to main content

Bulk Map Shipping Method Values

PUT 

/api/shiphero/integration-instances/:integration_instance/shipping-methods/mappings/bulk

Apply many mapping decisions in ONE request, inside a transaction.

Not yet available to API tokens

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

The per-value endpoint returns the whole refreshed configuration, which re-derives observed volume from fulfillment history - correct, but it makes every single selection a full round trip. Use this when saving a page of edits.

Body fields:

  • mappings (required, array, 1-500)
  • mappings.*.carrier (required, string, max 191) - as ShipHero reports it
  • mappings.*.service (required but may be EMPTY or null, string, max 191)
  • mappings.*.shipping_method_id (required, nullable, integer) - must exist
  • mappings.*.suppress (optional, boolean) - leave the value as free text

Returns the same full configuration payload as the list endpoint.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type