shipping_set_method
Add or change a delivery method. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | flat: one price. table: a price per country, region, postcode and order-value or weight band. New methods are flat unless said. | |
| name | Yes | The method's name as shoppers see it, like Standard or Next day. Names an existing method (case does not matter) to change it, or a new one to add. | |
| rows | No | Table methods only: the whole table, replacing what is there. Most specific row wins, then the highest band at or below the order. | |
| price | No | The flat price in the shop's minor units (cents for EUR: 500 is 5.00). 0 is free. Flat methods only; a table method's prices are in its rows. | |
| renameTo | No | A new name for an existing method. Up to 60 characters. | |
| freeAbove | No | Free once the order reaches this, in the shop's minor units (cents for EUR: 500 is 5.00), before tax and after discount. null means never free, which is different from free at 0. | |
| isEnabled | No | Whether checkout offers it. New methods are on unless said. | |
| tableBasis | No | Table methods only: whether the rows' bands are order value (subtotal, minor units) or weight (grams). | |
| description | No | The line under the name at checkout, like 3 to 5 working days. Up to 120 characters; empty clears it. |