Overview
This endpoint can be used to get the user’s Inventory saved views.
To consume the endpoint, you must:
- Be an authenticated user
For information on how you can authenticate, see: Authentication
As soon as you do authentication and receive a valid token, it needs to be passed to the call.
Endpoint
https://{your_server_id}.api.sellercloud.com/rest/api/Inventory/Views
Request
- Method Type: HttpGet
- Authorization: Use Bearer Token + token received from token authentication
Response
- If the user is authenticated and the request is successful, then the response will be Status Code 200 => with the user’s saved views in the response body.
- If the user is not authenticated, then the response will be Status Code 401 => Not Valid Token.
- In case of an error, the response will be Status Code 500 => Internal Server Error.
- In case of an incorrect request, the response will be with status code 400 Bad Request.
Response Body
[ { "ID": 0, "Name": "string" } ]