Get Order Details
HTTP Request
GET https://zylkerfashionstore.zohostore.com/portaluser/orders/{order_id}
Request Parameters
Parameter | Description |
order_id | order_id of an order. |
Request Example
Copiedcurl -i -X GET \
-H "Cookie:_iamadt_client_portalId= *****;_iambdt_client_portalId= *****;" \
'https://zylkerfashionstore.zohostore.com/portaluser/orders/1787495000000454013
Success Response
Copied{{
"status_code": "0",
"status_message": "success",
"api_kind": "kind#get_user_order_details",
"payload": {
"salesorders_zos_response": {
"code": 0,
"message": "success",
"salesorder": {
"can_send_in_mail": false,
"zcrm_potential_id": "",
"discount": 0,
"taxes": [
],
"shipment_date": "",
"billing_address": {
"zip": "433434",
"country": "India",
"country_code": "IN",
"address": "No.22,2nd cross, GST Road, Pallavaram",
"city": "Chennai",
"phone": "***",
"attention": "Gosha Nasheen",
"street2": "",
"state": "Tamil Nadu",
"state_code": "TN",
"fax": ""
},
"line_items": [
{
"line_item_id": "1787495000000454021",
"product_url": "/products/test-prod/1787495000000363005?variant=1787495000000363001",
"available_sale_stock_formatted": "",
"discount": 0,
"quantity_cancelled": 0,
"document_id": "1787495000000364005",
"image_name": "Screen Shot 1941-04-01 at 12.38.45 PM.png",
"product_id": "1787495000000363005",
"attribute_option_name2": "",
"attribute_option_name3": "",
"is_returnable": true,
"sku": "",
"image_type": "png",
"attribute_name2": "",
"attribute_name3": "",
"bcy_rate_formatted": "Rs.1,200.00",
"image_document_id": "1787495000000364005",
"attribute_name1": "",
"item_total": 1200,
"tax_id": "",
"tags": [
],
"quantity_to_cancel": 1,
"unit": "",
"tax_type": "tax",
"name": "Test_prod",
"item_total_inclusive_of_tax_formatted": "Rs.1,200.00",
"item_sub_total_formatted": "Rs.1,200.00",
"bcy_rate": 1200,
"item_total_formatted": "Rs.1,200.00",
"quantity_shipped": 0,
"quantity_returned": 0,
"rate_formatted": "Rs.1,200.00",
"alternate_text": "Test_prod",
"attribute_option_data3": "",
"description": "",
"attribute_option_data2": "",
"item_total_inclusive_of_tax": 1200,
"attribute_option_data1": "",
"quantity_to_return": 0,
"title": "Test_prod",
"item_order": 1,
"is_unconfirmed_product": false,
"available_sale_stock": "",
"item_sub_total": 1200,
"variant_id": "1787495000000363001",
"rate": 1200,
"quantity_packed": 0,
"quantity": 1,
"quantity_manuallyfulfilled": 0,
"item_id": "1787495000000363001",
"image_alter_text": "Test_prod",
"attribute_option_name1": "",
"tax_name": "",
"item_custom_fields": [
],
"is_invoiced": false,
"quantity_invoiced": 0,
"tax_percentage": 0
}
],
"is_test_order": false,
"order_status": "pending",
"coupon_id": "",
"invoices": [
],
"balance": 1200,
"terms": "",
"refund_status_formatted": "",
"created_time_formatted": "11/02/2020 03:14 PM",
"has_qty_cancelled": false,
"refund_status": "",
"exchange_rate": 1,
"approver_id": "",
"estimate_id": "",
"contact_person_details": [
{
"phone": "***",
"mobile": "***",
"last_name": "Nasheen",
"contact_person_id": "1787495000000390003",
"first_name": "Gosha",
"email": "commerce@zoho.com"
}
],
"sales_channel": "zstore",
"merchant_name": "",
"shipping_charge_formatted": "Rs.0.00",
"status_formatted": "Pending",
"packages": [
],
"reference_number": "",
"shipping_charge_tax_id": "",
"sub_total_exclusive_of_discount": 1200,
"purchaseorders": [
],
"refundable_amount": 0,
"shipped_status_formatted": "",
"is_dropshipped": false,
"is_pre_gst": false,
"discount_percent": 0,
"crm_owner_id": "",
"shipping_charge_tax_name": "",
"order_summary": "",
"status": "pending",
"discount_total": 0,
"tax_total": 0,
"invoiced_status": "",
"shipped_status": "",
"adjustment_formatted": "Rs.0.00",
"balance_formatted": "Rs.1,200.00",
"payments": [
],
"salesorder_id": "1787495000000454013",
"shipping_details": {
"shipping_rate": 0,
"shipping_days": 0,
"name": "assfd",
"delivery_title": "5"
},
"currency_code": "INR",
"shipment_date_formatted": "",
"refunds": [
],
"bcy_total": 1200,
"delivery_method_id": "",
"date_formatted": "11/02/2020",
"delivery_method": "",
"is_offline_payment": true,
"payment_mode": "cash_on_delivery",
"adjustment_description": "test",
"coupon_code": "",
"last_modified_time": "2020-02-11T15:14:57+0530",
"fraud_transaction_reason": {
"1": "IN",
"2": -10,
"3": "Chennai",
"4": 1,
"5": "Tamil Nadu",
"6": "13.087840",
"7": "80.278470",
"8": "India",
"9": "600009"
},
"currency_symbol": "Rs.",
"gst_treatment_formatted": "",
"checkout_ip": "121.244.91.20",
"discount_type": "no_discount",
"transaction_rounding_type": "no_rounding",
"roundoff_value": 0,
"template_name": "",
"salesorder_number": "SO-00008",
"has_unconfirmed_line_item": false,
"template_id": "1787495000000019003",
"customer_name": "Gosha",
"shipped_so_status": 0,
"customer_id": "1787495000000390001",
"roundoff_value_formatted": "Rs.0.00",
"total_formatted": "Rs.1,200.00",
"is_tax_on_shipping_enabled": false,
"discount_total_formatted": "Rs.0.00",
"invoiced_status_formatted": "",
"return_shipment_status": "",
"date": "2020-02-11",
"shipping_charges": {
"bcy_rate": 0,
"item_total_formatted": "Rs.0.00",
"bcy_rate_formatted": "Rs.0.00",
"rate_formatted": "Rs.0.00",
"tax_name": "",
"description": "Shipping charge",
"item_total": 0,
"item_total_inclusive_of_tax": 0,
"tax_id": "",
"tax_total_fcy": "",
"rate": 0,
"tax_type": "",
"tax_percentage": "",
"item_total_inclusive_of_tax_formatted": "Rs.0.00"
},
"is_return_waiting_for_approval": false,
"is_backorder_allowed": false,
"notes": "",
"template_type_formatted": "",
"documents": [
],
"order_status_formatted": "Pending",
"invoice_conversion_type": "invoice",
"shipping_charge_inclusive_of_tax": 0,
"last_modified_by_id": "",
"template_type": "",
"contact_persons": [
"1787495000000390003"
],
"shipping_charge_tax": "",
"gst_treatment": "",
"bcy_tax_total": 0,
"created_time": "2020-02-11T15:14:57+0530",
"created_date_formatted": "11/02/2020",
"crm_custom_reference_id": "",
"is_inclusive_tax": false,
"custom_fields": [
],
"salesreturns": [
],
"price_precision": 2,
"shipping_charge_tax_percentage": "",
"zcrm_potential_name": "",
"adjustment": 0,
"created_by_id": "",
"is_cancel_item_waiting_for_approval": false,
"is_possible_fraud_transaction": false,
"is_discount_before_tax": true,
"fraud_analysis": {
"ip_countrycode": "IN",
"ip_region": "Tamil Nadu",
"payment_retry_count": "1",
"system": [
"Checkout location and shipping location not from same region.",
"System generated IP Score as -10."
],
"ip_city": "Chennai",
"is_ip_location_and_shipping_location_matches": true,
"ip_countryname": "India",
"ip_latitude": "13.087840",
"ip_longitude": "80.278470",
"manual": "",
"ip_zip": "600009",
"ip_score": "-10"
},
"shipping_charge_inclusive_of_tax_formatted": "Rs.0.00",
"attachment_name": "",
"merchant_id": "",
"return_shipment_status_formatted": "",
"is_backordered": false,
"shipping_charge_exclusive_of_tax": 0,
"sub_total_exclusive_of_discount_formatted": "Rs.1,200.00",
"total": 1200,
"payment_mode_formatted": "Cash on Delivery",
"shipping_charge_exclusive_of_tax_formatted": "Rs.0.00",
"tax_total_formatted": "Rs.0.00",
"sub_total_formatted": "Rs.1,200.00",
"custom_field_hash": {
},
"bcy_shipping_charge": 0,
"shipping_address": {
"zip": "433434",
"country": "India",
"country_code": "IN",
"address": "No.22,2nd cross, GST Road, Pallavaram",
"city": "Chennai",
"phone": "***",
"attention": "Gosha Nasheen",
"street2": "",
"state": "Tamil Nadu",
"state_code": "TN",
"fax": ""
},
"shipping_charge_tax_formatted": "",
"bcy_discount_total": 0,
"shipping_charge_tax_type": "",
"comments": [
],
"return_status_formatted": "",
"is_manually_fulfilled": false,
"packed_so_status": 0,
"submitter_id": "",
"bcy_sub_total": 1200,
"is_emailed": false,
"invoiced_so_status": 0,
"salesperson_name": "",
"salesperson_id": "",
"risks": [
{
"message": "This order was placed from ip address: 121.244.91.20."
}
],
"shipping_charge": 0,
"bcy_adjustment": 0,
"return_status": "",
"sub_total": 1200,
"created_date": "2020-02-11",
"currency_id": "1787495000000000099"
}
}
}
}
Show full
Show less
Failure Response
Copied{
"status_code": "1",
"status_message": "failure",
"api_kind": "kind#get_user_order_details",
"error": {
"code": 37014,
"message": "Invalid entries"
},
"developer_message": "Invalid entries"
}
Use this API to get a particular order details from an user account.