action beezup_get_store_tracked_orders {
label: "Get the latest tracked orders"
provider: beezup
method: GET
path: "/v2/user/analytics/{storeId}/tracking/orders"
encoding: json
input: {
type: "object"
properties: {
count: {
type: "integer"
}
storeId: {
type: "string"
format: "guid"
}
}
required: ["storeId"]
additionalProperties: false
}
output: {
type: "object"
required: ["orders"]
properties: {
orders: {
type: "array"
items: {
type: "object"
required: ["utcDate", "channel", "merchantOrderId", "totalAmount", "currencyCode", "paymentValidated", "products"]
properties: {
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"
}
}
}
currencyCode: {
type: "string"
description: "The currency code (ISO 4217)\n"
}
merchantOrderId: {
type: "string"
description: "The merchant order identifier"
}
paymentValidated: {
type: "boolean"
description: "Indicate if the payment of this order has been validated or not"
}
products: {
type: "array"
description: "The product list of this order"
items: {
type: "object"
}
}
totalAmount: {
type: "number"
description: "The total amount of the order"
}
utcDate: {
type: "string"
format: "date-time"
description: "The utc date of the order"
}
}
}
}
}
}
}