Reporting
Authorizations
Path parameters
idintegerRequiredExample:
Unique identifier of the resource
1
Responses
200
Successful response, returns the report file
Responsestring · binary
401
Unauthorized Access
application/json
404
The given resource or object was not found or does not exist.
application/json
410
The requested resource is no longer available.
500
Server Error
get
GET /reporting/{id}/download/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
binary
Authorizations
Path parameters
channel_idintegerRequiredExample:
The channel ID of the resource.
5
Query parameters
channelintegerOptionalExample:
ID of the channel the customer belongs to
5
start_datestring · date-timeOptional
Start date for the data range.
end_datestring · date-timeOptional
End date for the data range.
email_allowedbooleanOptionalExample:
Indicates if the customer allows receiving emails
true
sms_allowedbooleanOptionalExample:
Indicates if the customer allows receiving SMS
false
call_allowedbooleanOptionalExample:
Indicates if the customer allows receiving calls
true
export_formatstring · enumOptionalDefault:
Export format for the report
csv
Possible values: Responses
200
Report request received
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
500
Server Error
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."
}
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__skustringOptionalExample:
Filter by SKU.
SKU123
product__base_codestringOptionalExample:
Filter by base code.
BASECODE123
export_formatstring · enumOptionalDefault:
Export format for the report
csv
Possible values: Responses
200
Report request received
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
500
Server Error
get
GET /reporting/sales/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Report request has been received."
}
Authorizations
Query parameters
channelintegerOptionalExample:
ID of the channel the customer belongs to
5
cancel_statusstring · enumOptionalPossible values:
Filter by cancel status
start_datestring · date-timeOptional
Start date for the data range.
end_datestring · date-timeOptional
End date for the data range.
export_formatstring · enumOptionalDefault:
Export format for the report
csv
Possible values: Responses
200
Report request received
application/json
400
Required field(s) are missing, data is invalid, or the action is not allowed.
application/json
401
Unauthorized Access
application/json
406
A custom 406 error occurs due to different validation failures in viewset or service level, such as uniqueness checks or other service-related exceptions.
application/json
500
Server Error
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?