Skip to main content
POST
/
shipping-rules
/
rules
/
reorder
Reorder your shipping rules
curl --request POST \
  --url https://panel.sendcloud.sc/api/v3/shipping-rules/rules/reorder \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rule_list": [
    3,
    1,
    2
  ]
}
'

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Body

application/json

The desired evaluation order of shipping rules.

rule_list
integer[]
required

Rule ids in the desired evaluation order (first id will be evaluated first).

Example:
[3, 1, 2]

Response

200

OK