action beezup_get_store_report_by_channel {
label: "Get the report by channel"
description: "Get the report by channel"
provider: beezup
method: POST
path: "/v2/user/analytics/{storeId}/reports/bychannel"
encoding: json
input: {
type: "object"
properties: {
storeId: {
type: "string"
format: "guid"
}
}
required: ["storeId"]
additionalProperties: false
}
output: {
type: "object"
required: ["channels", "currencyCode", "links", "paginationResult"]
properties: {
channels: {
type: "array"
items: {
type: "object"
required: ["channel", "catalogProductCount", "enabledProductCount", "clickCount", "cost", "orderCount", "performanceIndicator", "totalSales", "soldProductCount", "links"]
properties: {
catalogProductCount: {
type: "integer"
description: "The catalog product count"
}
channel: {
type: "object"
description: "The basic info related to a channel"
required: ["channelId", "channelName", "channelImageUrl"]
properties: {
channelId: {
type: "string"
format: "guid"
description: "The channel identifier"
}
channelImageUrl: {
type: "string"
description: "The URL https://en.wikipedia.org/wiki/URL"
}
channelName: {
type: "string"
description: "The channel name"
}
}
}
clickCount: {
type: "integer"
description: "The click count"
}
cost: {
type: "number"
description: "The cost for"
}
enabledProductCount: {
type: "integer"
description: "The enabled product count"
}
links: {
type: "object"
properties: {
disableProducts: {
type: "object"
}
enableProducts: {
type: "object"
}
}
}
margin: {
type: "number"
description: "The margin"
}
orderCount: {
type: "integer"
description: "The order count"
}
performanceIndicator: {
type: "number"
description: "The performance indicator based on the performance indicator formula indicated in the request"
}
roi: {
type: "number"
description: "The Return On Investment"
}
soldProductCount: {
type: "integer"
description: "The product sold count count"
}
totalSales: {
type: "number"
description: "The total sales"
}
}
}
}
currencyCode: {
type: "string"
description: "The currency code (ISO 4217)\n"
}
links: {
type: "object"
}
paginationResult: {
type: "object"
required: ["entryCount", "links", "pageCount", "totalEntryCount"]
properties: {
entryCount: {
type: "integer"
description: "The entry count currently returned"
}
links: {
type: "object"
description: "The navigation links 'first', 'last', 'next', 'previous'"
required: ["first", "last"]
properties: {
first: {
type: "object"
required: ["href"]
properties: {
allOptionalParamsProvided: {
type: "boolean"
description: "indicates whether all optionals params have been provided"
}
allRequiredParamsProvided: {
type: "boolean"
description: "indicates whether all required params have been provided"
}
description: {
type: "string"
description: "The description of the link"
}
docUrl: {
type: "string"
format: "uri"
description: "The documentation related to this operation."
}
href: {
type: "string"
description: "Indicate the relative uri for this link"
}
info: {
type: "object"
properties: {
errors: {
type: "array"
items: {
type: "object"
properties: {
errorArguments: {
type: "object"
}
errorCode: {
type: "string"
}
errorGuid: {
type: "string"
format: "uuid"
}
errorMessage: {
type: "string"
}
exceptionDetail: {
type: "object"
properties: {
helpLink: {
type: "string"
}
message: {
type: "string"
}
stackTrace: {
type: "string"
}
type: {
type: "string"
}
}
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
source: {
type: "string"
}
technicalErrorMessage: {
type: "string"
}
utcDate: {
type: "string"
format: "date-time"
}
}
}
}
informations: {
type: "array"
items: {
type: "object"
properties: {
informationArguments: {
type: "object"
}
informationCode: {
type: "string"
}
informationMessage: {
type: "string"
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
}
}
}
successes: {
type: "array"
items: {
type: "object"
properties: {
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
successArguments: {
type: "object"
}
successCode: {
type: "string"
}
successMessage: {
type: "string"
}
}
}
}
warnings: {
type: "array"
items: {
type: "object"
properties: {
technicalErrorMessage: {
type: "string"
}
warningArguments: {
type: "object"
}
warningCode: {
type: "string"
}
warningMessage: {
type: "string"
}
}
}
}
}
}
label: {
type: "string"
description: "The label corresponding to the link. This label is automatically translated based on the Accept-Language http header."
}
method: {
type: "string"
description: "Indicate the http method to use on this link"
enum: ["GET", "POST", "PATCH", "DELETE", "PUT", "HEAD"]
}
operationId: {
type: "string"
description: "The operationId to call."
}
parameters: {
type: "object"
}
urlTemplated: {
type: "boolean"
description: "indicates whether the href is templated or not"
}
}
}
last: {
type: "object"
required: ["href"]
properties: {
allOptionalParamsProvided: {
type: "boolean"
description: "indicates whether all optionals params have been provided"
}
allRequiredParamsProvided: {
type: "boolean"
description: "indicates whether all required params have been provided"
}
description: {
type: "string"
description: "The description of the link"
}
docUrl: {
type: "string"
format: "uri"
description: "The documentation related to this operation."
}
href: {
type: "string"
description: "Indicate the relative uri for this link"
}
info: {
type: "object"
properties: {
errors: {
type: "array"
items: {
type: "object"
properties: {
errorArguments: {
type: "object"
}
errorCode: {
type: "string"
}
errorGuid: {
type: "string"
format: "uuid"
}
errorMessage: {
type: "string"
}
exceptionDetail: {
type: "object"
properties: {
helpLink: {
type: "string"
}
message: {
type: "string"
}
stackTrace: {
type: "string"
}
type: {
type: "string"
}
}
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
source: {
type: "string"
}
technicalErrorMessage: {
type: "string"
}
utcDate: {
type: "string"
format: "date-time"
}
}
}
}
informations: {
type: "array"
items: {
type: "object"
properties: {
informationArguments: {
type: "object"
}
informationCode: {
type: "string"
}
informationMessage: {
type: "string"
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
}
}
}
successes: {
type: "array"
items: {
type: "object"
properties: {
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
successArguments: {
type: "object"
}
successCode: {
type: "string"
}
successMessage: {
type: "string"
}
}
}
}
warnings: {
type: "array"
items: {
type: "object"
properties: {
technicalErrorMessage: {
type: "string"
}
warningArguments: {
type: "object"
}
warningCode: {
type: "string"
}
warningMessage: {
type: "string"
}
}
}
}
}
}
label: {
type: "string"
description: "The label corresponding to the link. This label is automatically translated based on the Accept-Language http header."
}
method: {
type: "string"
description: "Indicate the http method to use on this link"
enum: ["GET", "POST", "PATCH", "DELETE", "PUT", "HEAD"]
}
operationId: {
type: "string"
description: "The operationId to call."
}
parameters: {
type: "object"
}
urlTemplated: {
type: "boolean"
description: "indicates whether the href is templated or not"
}
}
}
next: {
type: "object"
required: ["href"]
properties: {
allOptionalParamsProvided: {
type: "boolean"
description: "indicates whether all optionals params have been provided"
}
allRequiredParamsProvided: {
type: "boolean"
description: "indicates whether all required params have been provided"
}
description: {
type: "string"
description: "The description of the link"
}
docUrl: {
type: "string"
format: "uri"
description: "The documentation related to this operation."
}
href: {
type: "string"
description: "Indicate the relative uri for this link"
}
info: {
type: "object"
properties: {
errors: {
type: "array"
items: {
type: "object"
properties: {
errorArguments: {
type: "object"
}
errorCode: {
type: "string"
}
errorGuid: {
type: "string"
format: "uuid"
}
errorMessage: {
type: "string"
}
exceptionDetail: {
type: "object"
properties: {
helpLink: {
type: "string"
}
message: {
type: "string"
}
stackTrace: {
type: "string"
}
type: {
type: "string"
}
}
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
source: {
type: "string"
}
technicalErrorMessage: {
type: "string"
}
utcDate: {
type: "string"
format: "date-time"
}
}
}
}
informations: {
type: "array"
items: {
type: "object"
properties: {
informationArguments: {
type: "object"
}
informationCode: {
type: "string"
}
informationMessage: {
type: "string"
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
}
}
}
successes: {
type: "array"
items: {
type: "object"
properties: {
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
successArguments: {
type: "object"
}
successCode: {
type: "string"
}
successMessage: {
type: "string"
}
}
}
}
warnings: {
type: "array"
items: {
type: "object"
properties: {
technicalErrorMessage: {
type: "string"
}
warningArguments: {
type: "object"
}
warningCode: {
type: "string"
}
warningMessage: {
type: "string"
}
}
}
}
}
}
label: {
type: "string"
description: "The label corresponding to the link. This label is automatically translated based on the Accept-Language http header."
}
method: {
type: "string"
description: "Indicate the http method to use on this link"
enum: ["GET", "POST", "PATCH", "DELETE", "PUT", "HEAD"]
}
operationId: {
type: "string"
description: "The operationId to call."
}
parameters: {
type: "object"
}
urlTemplated: {
type: "boolean"
description: "indicates whether the href is templated or not"
}
}
}
previous: {
type: "object"
required: ["href"]
properties: {
allOptionalParamsProvided: {
type: "boolean"
description: "indicates whether all optionals params have been provided"
}
allRequiredParamsProvided: {
type: "boolean"
description: "indicates whether all required params have been provided"
}
description: {
type: "string"
description: "The description of the link"
}
docUrl: {
type: "string"
format: "uri"
description: "The documentation related to this operation."
}
href: {
type: "string"
description: "Indicate the relative uri for this link"
}
info: {
type: "object"
properties: {
errors: {
type: "array"
items: {
type: "object"
properties: {
errorArguments: {
type: "object"
}
errorCode: {
type: "string"
}
errorGuid: {
type: "string"
format: "uuid"
}
errorMessage: {
type: "string"
}
exceptionDetail: {
type: "object"
properties: {
helpLink: {
type: "string"
}
message: {
type: "string"
}
stackTrace: {
type: "string"
}
type: {
type: "string"
}
}
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
source: {
type: "string"
}
technicalErrorMessage: {
type: "string"
}
utcDate: {
type: "string"
format: "date-time"
}
}
}
}
informations: {
type: "array"
items: {
type: "object"
properties: {
informationArguments: {
type: "object"
}
informationCode: {
type: "string"
}
informationMessage: {
type: "string"
}
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
}
}
}
successes: {
type: "array"
items: {
type: "object"
properties: {
objectName: {
type: "string"
}
propertyName: {
type: "string"
}
propertyValue: {
type: "string"
}
successArguments: {
type: "object"
}
successCode: {
type: "string"
}
successMessage: {
type: "string"
}
}
}
}
warnings: {
type: "array"
items: {
type: "object"
properties: {
technicalErrorMessage: {
type: "string"
}
warningArguments: {
type: "object"
}
warningCode: {
type: "string"
}
warningMessage: {
type: "string"
}
}
}
}
}
}
label: {
type: "string"
description: "The label corresponding to the link. This label is automatically translated based on the Accept-Language http header."
}
method: {
type: "string"
description: "Indicate the http method to use on this link"
enum: ["GET", "POST", "PATCH", "DELETE", "PUT", "HEAD"]
}
operationId: {
type: "string"
description: "The operationId to call."
}
parameters: {
type: "object"
}
urlTemplated: {
type: "boolean"
description: "indicates whether the href is templated or not"
}
}
}
}
}
pageCount: {
type: "integer"
description: "The page count"
}
totalEntryCount: {
type: "integer"
description: "The total entry count"
}
}
}
}
}
}