Skip to main content
POST
cURL
Send the configuration under configuration: zones lists each zone by its UUID with dashes in zone, and rate gives the rate’s name, method such as FLAT_RATE, handling_cost and shipping_cost.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

shipping_rule_id
string
required

The shipping rule's id, from the listing.

Body

application/json
configuration
object
required

Response

The shipping rule with its configuration, under shipping_rule.

shipping_rule
object