WC_REST_Shipping_Zones_V2_Controller
REST API Shipping Zones class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
Methods Methods
- create_item — Create a single Shipping Zone.
- delete_item — Delete a single Shipping Zone.
- get_item — Get a single Shipping Zone.
- get_item_schema — Get the Shipping Zones schema, conforming to JSON Schema
- get_items — Get all Shipping Zones.
- prepare_item_for_response — Prepare the Shipping Zone for the REST response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for Shipping Zones.
- update_item — Update a single Shipping Zone.