POST /v1/shipping_rates/{shipping_rate_token}

Updates an existing shipping rate object.

Servers

Path parameters

Name Type Required Description
shipping_rate_token String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
active Boolean No

Whether the shipping rate can be used for new purchases. Defaults to true.

expand[] Array No

Specifies which fields in the response should be expanded.

fixed_amount Object No

Describes a fixed amount to charge for shipping. Must be present if type is fixed_amount.

fixed_amount.currency_options Object No
fixed_amount.currency_options.name Object No
fixed_amount.currency_options.name.amount Integer No
fixed_amount.currency_options.name.tax_behavior String No

Possible values:

  • "inclusive"
  • "unspecified"
  • "exclusive"
metadata No

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

tax_behavior String No

Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.

Possible values:

  • "inclusive"
  • "unspecified"
  • "exclusive"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.