0% found this document useful (0 votes)
12 views

E-Commerce Order Analysis: 1. Requirements

The document provides requirements for analyzing order data from an e-commerce shop's API. It specifies using jQuery, AngularJS, Highcharts.js and Bootstrap to build an application that retrieves order data and displays two types of analyses. The first is a percentage distribution of orders by payment status. The second is the number of orders per month over the past 6 months. The API endpoint and necessary fields are defined, and the submission deadline of March 24th, 2015 is provided.

Uploaded by

Aung Kyaw Khant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

E-Commerce Order Analysis: 1. Requirements

The document provides requirements for analyzing order data from an e-commerce shop's API. It specifies using jQuery, AngularJS, Highcharts.js and Bootstrap to build an application that retrieves order data and displays two types of analyses. The first is a percentage distribution of orders by payment status. The second is the number of orders per month over the past 6 months. The API endpoint and necessary fields are defined, and the submission deadline of March 24th, 2015 is provided.

Uploaded by

Aung Kyaw Khant
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

E-commerce Order Analysis

1. Requirements:

YourtaskistoretrieveashopsordersfromtheTackThisAPIanddisplayusefuldata
analysisfrompastorders.

Youwillberequiredtousethefollowingtechnologies:
jQueryorAngularJSorotherjavascriptbasedframework
UsethistoreaddatafromTackThisAPI
Highcharts.js(
http://www.highcharts.com/
)
Usethistocreatejavascriptchart
Bootstrap(
http://getboostrap.com
)
UsethistobeautifullylayoutyourHTMLpage

ShopOrderAPIEndpoint:
Inthisexample,youwillbeusingshopordersfromthisendpoint:
http://api.tackthis.com/shop/1/orders?shop_id=1
Notethatthereareatotalof4pages.Toqueryforotherpagessuchaspage2,
http://api.tackthis.com/shop/1/orders?shop_id=1&page=2

Whatinformationdoesthemerchantneed?
1. PercentageDistributionofordersintermsofPaymentStatus.Thestatusesareas
follows:
'0'=>'AwaitingPayment',
'1'=>'PaymentReceived',
'2'=>'PaymentUpdated',
'3'=>'Completed',
'4'=>'Refunded',
'5'=>'Refunded(Partially)',
'6'=>'Cancelled',
'7'=>'Failed',
'8'=>'Expired'
Youshouldusethedatafromfieldname:
payment_status,
payment_status_text(optional)

2. Numberofordersforthepast6months,groupedbymonth.(October,November,
December,January,February,March)
Dateoforderislocatedinfieldname:
created_at

2. Submission:

Youmayeither:
Createarepoandpublishthesourcecodeon
http://github.com/
,or
sendusthezipfileoftheapplication.
Pleasesendusthelink/ziptothesourcecodeby
24thMarch,2015
.

You might also like