Search Order
The user can filter specific orders in the system. All filtering options are listed below with their detailed descriptions.
Parameter
Data Type
Required
In
Description
api_token
string
Yes
header
limit
integer
No
query
Amount of items per page that will be returned. Default value is 10
page
string
No
query
Page number to return. Default value is 1
status
string
No
params
Order status code
is_send
boolean
No
params
Whether the order was sent to the ERP. If False the system will fetch orders that have not yet been sent to the ERP.
GET
Search Orders
GET
Search OrdersPath: /api/i1/orders/
Sample HTTP request to filter orders. Below example only retrieves where order status is 400 (approved).
content_type
header represents the response type.Authorization
header is a required header for authentication. You can retrieve api_token with login.
Example Request
Example Response
Response contains all order data with search parameters and with pagination. Response status is expected to be HTTP-200 Successful. All parameters of an order described in the below table.
Resource properties are in Python format.
Property
Data Type
Description
number
integer
Order code
status
string
Status of order in the current time. Order statuses are predefined. You can look up for meaning of the status in the Order Status section
date_placed
iso date str
Created date of the order
customer
dict
Related Customer object. See the Customer section for more details about the fields in the customer dictionary.
shipping_address
dict
Related Address object. See the Address section for more details about the fields in the shipping_address dictionary.
billing_address
dict
Related Address object. See the Address section for more details about the fields in the billing_address dictionary.
currency
string
Currency type of the transaction. Currency types are predefined. Every currency type is a global abbreviation of the currency.
amount
string
Amount of the order
shipping_amount
string
Shipping amount of the order
shipping_tax_rate
string
Shipping tax rate of the order
extra_field
dict
Usage of extra information.
payment_option
int
Related Payment Option object ID. See the Payments section for more information.
payment_option_slug
string
Unique slug information related to the Payment Option object.
bin_number
string
Bin Number
installment
int
Related Installment object ID. See the Payments section for more information
installment_count
int
Installment count information related to the Installment object.
installment_interest_amount
string
Calculated by (amount of the order * installment interest rate) \ Installment interest rate is the related Installment object info.
cargo_company
int
Related Cargo Company object ID.
invoice_number
string
Invoice number
invoice_date
Iso date str
Invoice date
e_archieve_url
Url field str
e archive url info
refund_amount
string
Refund amount
discount_refund_amount
string
Discount refund amount
shipping_refund_amount
string
Shipping refund amount
shipping_refund_amount
string
Shipping refund amount
discount_amount
string
Discount amount
is_send
boolean
True means order sent to ERP.
net_shipping _amount
string
Net shipping amount. (Shipping amount + Shipping Interest Amount)
shipping_interest_amount
string
Shipping Interest amount
tracking_number
string
Tracking number for cargo integration
carrier_shipping_code
string
Shipping code for cargo integration
remote_addr
string
Generic IP address for the orders created.
has_gift_box
boolean
Gift Box is selected or not
gift_box_note
string
Note for the gift box
external_status
int
Related Order External Status object id.
orderitem_set
list
Each element is the related Order Item object. See the Order Item section for more information.
channel
dict
Related Channel object. See the Channel section for more information.
count
shows how many orders exist in the system.next
shows the next page url to retrieve the desired ordersprevious
shows the previous page url to retrieve the desired orders.results
shows every order property with detailed field descriptions.
Last updated
Was this helpful?