/user//products
Description:
The /user/{userId}/products
endpoint retrieves the products associated with a specific user identified by their unique userId.
Method:
GET
Path Parameter:
Parameter | Type | Description |
---|---|---|
userId | string | The unique identifier of the user. |
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id}/products \
--header 'Authorization: Bearer <token>'
[
{}
]
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
User ID
Success
The response is of type object[]
.
curl --request GET \
--url https://server26-dot-royalti-project.uc.r.appspot.com/user/{id}/products \
--header 'Authorization: Bearer <token>'
[
{}
]