WC_REST_Shipping_Zone_Methods_V2_Controller
REST API Shipping Zone Methods class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
Methods Methods
- create_item — Create a new shipping zone method instance.
- delete_item — Delete a shipping method instance.
- get_item — Get a single Shipping Zone Method.
- get_item_schema — Get the Shipping Zone Methods schema, conforming to JSON Schema
- get_items — Get all Shipping Zone Methods.
- get_settings — Return settings associated with this shipping zone method instance.
- prepare_item_for_response — Prepare the Shipping Zone Method for the REST response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for Shipping Zone Methods.
- update_fields — Updates settings, order, and enabled status on create.
- update_item — Update A Single Shipping Zone Method.