Get Picklist IDs

Updated 5 months ago ​by nussi

Overview

Endpoint that is presented in this article is used for getting picklist ids for a single order.

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 order

Endpoint

Example for such endpoint for TT server is https://tt.api.sellercloud.com/rest/api/Orders/{id}/PicklistIDs

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Orders/{id}/PicklistIDs

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

    id

    integer

    ID of existing order.

    Yes

Response

  • If server error appears, then response will be with status code 500 => Internal Server Error
  • If getting order packages is successful, response will be with following format:
{
[ 2196513, 2197947, 2211508, 2212680, 2216756 ]
}


How did we do?