Update docs/customization/api/adding_and_removing_endpoints.rst

This commit is contained in:
Grzegorz Sadowski 2024-10-29 07:23:48 +01:00 committed by GitHub
parent 7dd327e6cf
commit f78d02d8a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 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 ``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. ``sylius.api.doctrine_extension.order_shop_user_item.filter_cart.allowed_non_get_operations`` parameter.
How to remove an endpoint? How to remove an endpoint?
-------------------------- --------------------------