Skip to content

PL11 - List picklists

Request

Call Frequency
Maximum usage: Every 5 minutes
Read More
Pagination

This resource supports seek pagination (see documentation)

Sort fields

sort field can have the following values:

  • pickupDate (Default) - Sort by pickup date (asc by default)

Security
Operator-Bearer-Token or OAuth-2
Query
pickrun_codestring

Pick run code for filtering.

pickup_date_minstring, (date-time)

Filter picklists with a pick-up date after the given date.

pickup_date_maxstring, (date-time)

Filter picklists with a pick-up date before the given date.

picklist_idArray of strings

Picklist id for filtering. This parameter can be supplied multiple times (picklist_id=OR01-A&picklist_id=OR02-A...).

shop_idinteger, (int64)

Shop id for filtering.

picklist_stateArray of strings

Picklist state for filtering. This parameter can be supplied multiple times (picklist_state=WAITING_PREPARATION&picklist_state=IN_PREPARATION...).

order_line_idArray of strings

Order line id for filtering. This parameter can be supplied multiple times (order_line_id=OR01-A-1&order_line_id=OR02-A-1...).

curl -i -X GET \
  'https://your-instance.mirakl.net/api/picklists?pickrun_code=string&pickup_date_min=2019-08-24T14%3A15%3A22Z&pickup_date_max=2019-08-24T14%3A15%3A22Z&picklist_id=string&shop_id=0&picklist_state=string&order_line_id=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
dataArray of objectsrequired

Page of data

next_page_tokenstring

Token to access the next page. Absent if the current page is the last one.

previous_page_tokenstring

Token to access the previous page. Absent if the current page is the first one.

Response
{ "data": [ { … }, { … } ], "next_page_token": "bGltaXQ9MSZhZnRlcj0yMDIyLTEyLTI0VDAwOjAwOjAwWiZhZnRlcj04Y2ViNWQxZi05MjQ4LTQyYjEtYTdkNS05NzYwNzAxOGQzNGEmc29ydD1waWNrdXBEYXRlLEFTQw==", "previous_page_token": null }