You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This route contains endpoints for performing CRUD operations on customer entity.
468
468
`create`: Endpoint to create a new customer account. No authentication is needed for connecting to this endpoint.
469
-
`me`: It is a endpoint to fetch the email of the currently authenticated customer.
469
+
`me`: It is an endpoint to fetch the email of the currently authenticated customer.
470
470
`search`: Endpoint to fetch a paginated list of customers from the database. No authentication is needed for connecting to this endpoint.
471
471
`delete`: Endpoint for an authenticated customer to delete its own record.
472
472
`update`: Endpoint for an authenticated customer to update its own record.
@@ -476,10 +476,10 @@ This project serves as a strong foundation for developers to build upon.
476
476
`create`: Endpoint to place an order by the authenticated customer.
477
477
`search`: Endpoint fetches a paginated list of orders and its details associated with the authenticated customer.
478
478
`search/internal`: Endpoint fetches a paginated list of orders and its details.
479
-
_Note:_ This endpoint is ment to be used by an admin account which will created in future update. Currently no authentication is needed for connecting to this endpoint.
479
+
_Note:_ This endpoint is ment to be used by an admin account which will created in future update. Currently, no authentication is needed for connecting to this endpoint.
480
480
`search/uuid`: Endpoint fetches a specific order and its details by its UUID associated with the authenticated customer.
481
-
`delete/uuid`: Endpoint to delete a order by its UUID associated for an authenticated customer.
482
-
_Note:_ This endpoint will be depricatedin future update with the implementation of archiving.
481
+
`delete/uuid`: Endpoint to delete an order by its UUID associated for an authenticated customer.
482
+
_Note:_ This endpoint will be deprecatedin future update with the implementation of archiving.
pytest.param("d76a11f2", "3250fcbe", True, id="PRODUCT GET Endpoint - Fetch specific product by its UUID which is associated with the authenticated business"),
233
-
pytest.param("d76a11f2", "xxxxyyyy", False, id="PRODUCT GET Endpoint - Fail to fetch specific product by its UUID which is associated with the authenticated business")
232
+
pytest.param(
233
+
"d76a11f2", "3250fcbe", True,
234
+
id="PRODUCT GET Endpoint - Fetch specific product by its UUID which is associated with the authenticated business"
235
+
),
236
+
pytest.param(
237
+
"d76a11f2", "xxxxyyyy", False,
238
+
id="PRODUCT GET Endpoint - Fail to fetch specific product by its UUID which is associated with the authenticated business"
0 commit comments