Skip to main content

Reorder Text Rules

PUT 

/api/shiphero/integration-instances/:integration_instance/shipping-methods/rules/reorder

Rewrite the evaluation order of the text rules. Send the complete list of rule ids in the desired order - positions are rewritten from that list, so gaps and duplicates cannot accumulate.

Not yet available to API tokens

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

Body fields:

  • rule_ids (required, array, min 1)
  • rule_ids.* (required, integer, distinct) - must exist

Authentication: Requires Bearer token.

Every endpoint in this folder returns the SAME full configuration payload (provider_methods, sku_methods, text_rules, summary). The resolution layers interact, so a mutation returns the whole refreshed configuration rather than the single row that changed.

Request

Responses

OK

Response Headers
    Content-Type