To see how to add your data to Store API using ExtendSchema, check this document. If you want to add a new endpoint, check this document.
This is a list of available endpoints that you can extend. For other endpoints, see here.
The checkout endpoint is extensible via ExtendSchema. The data is available via the extensions
key in the response.
data_callback
: none.schema_callback
: none.
CheckoutSchema::IDENTIFIER
The main cart endpoint is extensible via ExtendSchema. The data is available via the extensions
key in the response.
data_callback
: none.schema_callback
: none.
CartSchema::IDENTIFIER
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.
data_callback
:$cart_item
.schema_callback
none.
CartItemSchema::IDENTIFIER
The main products endpoint is extensible via ExtendSchema. The data is available via the extensions
key for each product
in the response array.
data_callback
:$product
.schema_callback
none.
ProductSchema::IDENTIFIER
We're hiring! Come work with us!
🐞 Found a mistake, or have a suggestion? Leave feedback about this document here.