⬆️Request and Response
Request to the API endpoint
Retrieves a list of orders that meet the specified criteria
GET
https://api.alephcrm.com/v2/orders
Query Parameters
Parameters details
statusType
Filters the orders by their current status type. Status type is an aggregation of several statuses of an order. Available values are:
This status type aggregation parameter includes the following individual statuses:
dateCreatedFrom
Filters orders which were created in Alephee after the provided date. (Format yyyy-mm-dd HH:mm with HH in 24 hours-format) The creation date is the date on which the order was created or generated in Alephee. It is not the sale date of the order.
saleDateFrom
(Format yyyy-mm-dd HH:mm with HH in 24 hours-format) The sale date is the date on which the order was sold (in whatever marketplace of origin)
statusDateFrom
Filters orders which had a change in status after the provided date. (Format yyyy-mm-dd HH:mm with HH in 24 hours-format) The status date is the date on which the order underwent any novelty or modification in Alephee.
idFrom
Filters orders which ids are equal or greater than the provided one. ID is the internal ID assigned by Alephee to the order.
idTo
Filters orders which ids are equal or lower than the provided one. ID is the internal ID assigned by Alephee to the order.
externalOrderIdFrom
Filters orders which external ids are equal or greater than the provided one. ExternalID is the ID assigned by the marketplace of origin to the order.
externalOrderIdTo
Filters orders which external ids are equal or greater than the provided one. ExternalID is the ID assigned by the marketplace of origin to the order.
Integrated
Filters orders which have been marked as “integrated” or not.
erpStatus
Filters orders which ERP status equals the provided one.
marketplaceId
Filters orders which origin marketplace matches the provided one. Refer to marketplaces ID section and the GET marketplaces endpoint for the coding reference
includePendingPayments
When true, this endpoint will include orders that have payments pending approval (payments not yet approved). By default, the endpoint will only return orders with explicit approved payment. Please refer to the approved payments and pending payments section for more information.
additionalInfo
A collection of additional information to the orders and filters to the result orders list. There is several parameters and filters. Some are assumed by default. You can combine more than one parameter using the “comma” separator. List of available parameters:
sort
Indicates the field to be sorted by (ascending only). Available fields: ID, dateCreated
limit
Used for paging. Defines the number of records to be returned. For example, limit=10 gets only 10 records.
offset
Used for paging. Moves the inferior limit of the records to the provided one. For example, offset=50 gets the rows skipping the first 50 records.
Last updated