mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Update docs/customization/api/adding_and_removing_endpoints.rst
This commit is contained in:
parent
7dd327e6cf
commit
f78d02d8a0
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ Good to Know
|
|||
is not ``GET``. So if you need to add an endpoint to an API that needs to edit orders that are not in the state
|
||||
``cart``, you will need to whitelist this endpoint. This can be done by adding your API route to the
|
||||
``sylius.api.doctrine_extension.order_shop_user_item.filter_cart.allowed_non_get_operations`` parameter.
|
||||
|
||||
How to remove an endpoint?
|
||||
--------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue