Update a Shipping Rule

Update a shipping rule.

Required authorization scope: enterprise.shipping_rule:write

The path does not include the organization_id path parameter used for 'List all Shipping Rules' and 'Create a Shipping Rule' actions.

Path Params
string
required

Shipping Rule ID provided when creating

Body Params
string

Shipping Rule name

string

Shipping Rule description

boolean

Recalculate all shipments affected by this shipping rule

integer

A smaller value represent higher priority. High priority shipping rule would be execute first.

conditions
array of objects
length ≥ 1
conditions
actions
array of objects
length ≥ 1
actions
Responses

Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json