2022-06-09 15:52:19 +00:00
# Available endpoints to extend with ExtendSchema <!-- omit in toc -->
2021-06-18 22:32:19 +00:00
2022-06-09 15:52:19 +00:00
## Table of Contents <!-- omit in toc -->
2021-06-18 22:32:19 +00:00
2023-06-29 13:41:22 +00:00
- [`wc/store/checkout` ](#wcstorecheckout )
- [Passed Parameters ](#passed-parameters )
- [Key ](#key )
- [`wc/store/cart` ](#wcstorecart )
- [Passed Parameters ](#passed-parameters-1 )
- [Key ](#key-1 )
- [`wc/store/cart/items` ](#wcstorecartitems )
- [Passed Parameters ](#passed-parameters-2 )
- [Key ](#key-2 )
- [`wc/store/products` ](#wcstoreproducts )
- [Passed Parameters ](#passed-parameters-3 )
- [Key ](#key-3 )
2022-11-07 10:37:00 +00:00
To see how to add your data to Store API using ExtendSchema, [check this document ](./extend-rest-api-add-data.md ). If you want to add a new endpoint, [check this document ](./extend-rest-api-new-endpoint.md ).
This is a list of available endpoints that you can extend. For other endpoints, [see here ](./../../../../src/StoreApi/README.md ).
2021-06-18 22:32:19 +00:00
2022-08-22 21:24:49 +00:00
## `wc/store/checkout`
2022-11-07 10:37:00 +00:00
The checkout endpoint is extensible via ExtendSchema. The data is available via the `extensions` key in the response.
2022-08-22 21:24:49 +00:00
### Passed Parameters
- `data_callback` : none.
- `schema_callback` : none.
### Key
- `CheckoutSchema::IDENTIFIER`
2021-06-18 22:32:19 +00:00
## `wc/store/cart`
2022-03-01 10:34:05 +00:00
The main cart endpoint is extensible via ExtendSchema. The data is available via the `extensions` key in the response.
2021-06-18 22:32:19 +00:00
2022-06-09 12:43:17 +00:00
### Passed Parameters
2021-06-18 22:32:19 +00:00
2022-03-01 10:34:05 +00:00
- `data_callback` : none.
- `schema_callback` : none.
2021-06-18 22:32:19 +00:00
2022-06-09 12:43:17 +00:00
### Key
2021-06-18 22:32:19 +00:00
2022-03-01 10:34:05 +00:00
- `CartSchema::IDENTIFIER`
2021-06-18 22:32:19 +00:00
## `wc/store/cart/items`
The items endpoint, which is also available on `wc/store/cart` inside the `items` key. The data would be available inside each item of the `items` array.
2022-06-09 12:43:17 +00:00
### Passed Parameters
2021-06-18 22:32:19 +00:00
2022-03-01 10:34:05 +00:00
- `data_callback` : `$cart_item` .
- `schema_callback` none.
2021-06-18 22:32:19 +00:00
2022-06-09 12:43:17 +00:00
### Key
2021-06-18 22:32:19 +00:00
2022-03-01 10:34:05 +00:00
- `CartItemSchema::IDENTIFIER`
2022-02-02 14:27:46 +00:00
2022-04-11 16:40:26 +00:00
## `wc/store/products`
The main products endpoint is extensible via ExtendSchema. The data is available via the `extensions` key for each `product` in the response array.
2022-06-09 12:43:17 +00:00
### Passed Parameters
2022-04-11 16:40:26 +00:00
- `data_callback` : `$product` .
- `schema_callback` none.
2022-06-09 12:43:17 +00:00
### Key
2022-04-11 16:40:26 +00:00
- `ProductSchema::IDENTIFIER`
2022-02-02 14:27:46 +00:00
<!-- FEEDBACK -->
2022-06-09 12:43:17 +00:00
2022-02-02 14:27:46 +00:00
---
[We're hiring! ](https://woocommerce.com/careers/ ) Come work with us!
2022-08-01 08:56:28 +00:00
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here. ](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/rest-api/available-endpoints-to-extend.md )
2022-02-02 14:27:46 +00:00
2022-06-09 12:43:17 +00:00
<!-- /FEEDBACK -->
2023-08-22 09:51:18 +00:00