Reporting

Download a report file

get
Authorizations
Path parameters
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
200
Successful response, returns the report file
Responsestring · binary
get
GET /reporting/{id}/download/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
binary

Request a remote customer report

get
Authorizations
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
channelintegerOptional

ID of the channel the customer belongs to

Example: 5
start_datestring · date-timeOptional

Start date for the data range.

end_datestring · date-timeOptional

End date for the data range.

email_allowedbooleanOptional

Indicates if the customer allows receiving emails

Example: true
sms_allowedbooleanOptional

Indicates if the customer allows receiving SMS

Example: false
call_allowedbooleanOptional

Indicates if the customer allows receiving calls

Example: true
export_formatstring · enumOptional

Export format for the report

Default: csvPossible values:
Responses
200
Report request received
application/json
get
GET /reporting/remote/{channel_id}/customer/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "message": "Report request has been received."
}

Request a sales report

get
Authorizations
Query parameters
order__channelintegerOptional
start_datestring · date-timeRequired

Start date for the data range.

end_datestring · date-timeRequired

End date for the data range.

product__skustringOptional

Filter by SKU.

Example: SKU123
product__base_codestringOptional

Filter by base code.

Example: BASECODE123
export_formatstring · enumOptional

Export format for the report

Default: csvPossible values:
Responses
200
Report request received
application/json
get
GET /reporting/sales/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "message": "Report request has been received."
}

Request an order report

get
Authorizations
Query parameters
channelintegerOptional

ID of the channel the customer belongs to

Example: 5
cancel_statusstring · enumOptional

Filter by cancel status

Possible values:
start_datestring · date-timeOptional

Start date for the data range.

end_datestring · date-timeOptional

End date for the data range.

export_formatstring · enumOptional

Export format for the report

Default: csvPossible values:
Responses
200
Report request received
application/json
get
GET /reporting/order/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "message": "Report request has been received."
}

Was this helpful?