Set shipping method
set_shipping_methodChoose a shipping method by its option_id (from get_shipping_options). Args: option_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option_id | No | Shipping option id from get_shipping_options (currently 'worldwide'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | Unknown option_id or empty cart. | |
| shipping_method | No |