Get Products for Picklist

Overview

Endpoint that is presented in this article is used for getting a list of products which are included in a given picklist.

In order to consume the endpoint you must:

  • Be 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 on the call when updating the order.

  • Have valid ID of an existing picklist

Endpoint

Example for such endpoint for TT server is https://tt.api.sellercloud.com/rest/api/Picklists/Products

For your server endpoint will be:

https://tt.api.sellercloud.com/rest/api/Picklists/Products

Request

  • Method Type: HttpGet
  • Authorization: Use Bearer Token + token received from token authentication
  • Header info: Content-Type: application/json
  • Body data:
    Parameter Data Type Description Is Required
    picklistID integer ID of existing order. Yes
    pageNumber integer Page Number for list of products Yes
    pageSize integer Number of records in the product list Yes

Response

  • If user is authenticated and the request is successful, then response will be Status Code 200 => OK and a list of products details will be returned along with the TotalResults property
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • In case of error, response will be Status Code 500 => Internal Server Error

Was this article helpful?