WC_REST_Order_Notes_V1_Controller
REST API Order Notes controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
Methods Methods
- create_item — Create a single order note.
- create_item_permissions_check — Check if a given request has access create order notes.
- delete_item — Delete a single order note.
- delete_item_permissions_check — Check if a given request has access delete a order note.
- get_collection_params — Get the query params for collections.
- get_item — Get a single order note.
- get_item_permissions_check — Check if a given request has access to read a order note.
- get_item_schema — Get the Order Notes schema, conforming to JSON Schema.
- get_items — Get order notes from an order.
- get_items_permissions_check — Check whether a given request has permission to read order notes.
- prepare_item_for_response — Prepare a single order note output for response.
- prepare_links — Prepare links for the request.
- register_routes — Register the routes for order notes.