searchOrdersUnfinished

Operation Id:
orders/unfinished/search/post [Official Documentaction]
Methods

  • orderPrepaidStatus String
  • ordersStatuses Array<String>
  • couriersName Array<String>
  • orderPaymentType String
  • orderType 'wholesale'|'retail'|'dropshipping'|'deliverer'
  • dropshippingOrderStatus 'all'|'finished'|'canceled'|'notCanceled'
  • ordersIds Array<String>
  • ordersSerialNumbers Array<Integer>
  • clients Array<Object>
  • ordersRange Object
  • orderSource Object
  • products Array<Object>
  • resultsPage Integer
  • resultsLimit Integer
  • clientRequestInvoice String
  • packages Object
  • stocks Array<Object>
  • campaign Object
  • loyaltyPointsMode 'all'|'given'|'taken'|'given_or_taken'|'given_and_taken'|'not_given_nor_taken'
  • orderOperatorLogin String
  • orderPackingPersonLogin String
  • ordersBy Array<Object>
  • searchingOperatorTypeMatch 'no_assignment'|'no_empty'|'empty'
  • ordersDelayed 'y'|'n'
  • shopIds value: number|string|number[]|string[]
  • byPackageNumbers value: string|string[]
  • dates dateFrom: DateLike, dateTo: DateLike, type: "add"|"modified"|"dispatch"|"payment"|"last_payments_operation"|"declared_payments"
  • orderBy elementName: "id"|"sn"|"order_time"|"status"|"order_source"|"order_cost"|"discount_code"|"ready_to_send_date", descending: boolean
  • logins values: string|string[]
  • clientIds values: number|string|number[]|string[]
  • productIds values: number|string|number[]|string[]
  • stockIds values: number|string|number[]|string[]
  • campaignIds values: number|string|number[]|string[]
  • discountCodes values: string|string[]
  • hasProduct productId: number|string, sizeId: number|string
  • hasPackage orderHasPackage: boolean
  • fromAllegro allegroAccount: string
  • fromAmazon allegroAccount: string
  • fromEbay allegroAccount: string
Examples

This function retrieves unfinished orders with the status "packed".

const result = await idosellRequest.searchOrdersUnfinished
	.ordersStatuses(["packed"])
	.exec()

This function filters and returns a list of unfinished orders that have a specified order type as "wholesale".

const result = await idosellRequest.searchOrdersUnfinished
	.orderType("wholesale")
	.exec()

This function orders the list of unfinished orders by their "sn" attribute in descending order.

const result = await idosellRequest.searchOrdersUnfinished
	.orderBy("sn", false)
	.exec()

This function returns a list of unfinished orders associated with the specified login name "iai_demo".

const result = await idosellRequest.searchOrdersUnfinished
	.logins(["iai_demo"])
	.exec()

This function returns the second page of unfinished orders with a maximum of 10 orders per page.

const result = await idosellRequest.searchOrdersUnfinished
	.page(2,10)
	.exec()

This function returns a list of unfinished orders with a stock ID of 2.

const result = await idosellRequest.searchOrdersUnfinished
	.stockIds(2)
	.exec()