POST /v1/shipping_rates/{shipping_rate_token}
Updates an existing shipping rate object.
Servers
- https://api.stripe.com/
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 |
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.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:
|
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 |
|
tax_behavior |
String | No |
Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.