OptionalamountOptionalshipping_If provided, the shipping rate's amount, tax_code and tax_behavior are used. If you provide a shipping rate, then you cannot pass the amount, tax_code, or tax_behavior parameters.
Optionaltax_Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes. Defaults to exclusive.
Optionaltax_The tax code used to calculate tax on shipping. If not provided, the default shipping tax code from your Tax Settings is used.
A positive integer in the smallest currency unit representing the shipping charge. If
tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount.