action jumpseller_get_partners_stores_json { label: "Retrieve statistics." provider: jumpseller method: GET path: "/partners/stores.json" encoding: json input: { type: "object" properties: { from: { type: "string" format: "string" } to: { type: "string" format: "sting" } } required: ["from", "to"] additionalProperties: false } output: { type: "array" items: { type: "object" properties: { code: { type: "string" description: "Store code." } stats: { type: "object" properties: { best_sold: { type: "array" description: "Top 10 best sold products." items: { type: "object" properties: { count: { type: "integer" description: "Quantity sold." } product_id: { type: "integer" } product_name: { type: "string" } total: { type: "number" format: "float" description: "Total sold amount." } } } } conversions: { type: "object" properties: { added_to_cart: { type: "number" format: "float" description: "Total add to cart conversions." } checkout: { type: "number" format: "float" description: "Total checkout conversions." } paid: { type: "number" format: "float" description: "Total paid conversions." } } } currency: { type: "string" description: "Store currency." } daily_visits: { type: "array" description: "Visits per day." items: { type: "object" properties: { date: { type: "string" } visits: { type: "integer" } } } } from: { type: "string" description: "Statistics start date." } new_vs_returning_customers: { type: "object" properties: { global: { type: "integer" description: "Global percentage of new vs returning customers." } per_day: { type: "array" description: "Numbers of new and returning customers per day." items: { type: "object" properties: { date: { type: "string" } new: { type: "integer" } returning: { type: "integer" } } } } } } new_vs_returning_orders: { type: "object" properties: { global: { type: "integer" description: "Global percentage of new vs returning customers." } per_day: { type: "array" description: "Numbers of new and returning customers per day." items: { type: "object" additionalProperties: true } } } } orders: { type: "object" properties: { average: { type: "number" format: "float" description: "Average order amount." } count: { type: "integer" description: "Total number of orders." } data: { type: "array" description: "Orders data." items: { type: "object" properties: { average: { type: "number" format: "float" } count: { type: "number" format: "float" } date: { type: "string" } paid: { type: "number" format: "float" description: "Total amount paid." } pending: { type: "number" format: "float" } total: { type: "number" format: "float" } } } } total: { type: "number" format: "float" description: "Total amount from all orders." } } } payment_methods: { type: "array" description: "Store payment methods and their frequency." items: { type: "object" properties: { count: { type: "string" } name: { type: "string" } } } } referrers: { type: "array" description: "Top 10 referrer sources and their frequency." items: { type: "object" properties: { count: { type: "integer" } source: { type: "string" } } } } region_orders: { type: "object" properties: { display_mode: { type: "string" description: "Can be 'regions' when orders are specific of 1 country or 'auto'." } regions_orders: { type: "array" description: "Orders per country and region(inside the country)." items: { type: "object" properties: { code: { type: "string" } count: { type: "integer" description: "Number of country orders." } country: { type: "string" } orders: { type: "array" description: "Orders per region." items: { type: "object" properties: { city: { type: "object" additionalProperties: true } code: { type: "object" additionalProperties: true } country: { type: "object" additionalProperties: true } } } } } } } } } search_frequencies_all: { type: "array" description: "Number of times each search was conducted under the form of an aggregation query." items: { type: "object" } } search_frequencies_without_results: { type: "array" description: "Number of times each search with zero results was conducted under the form of an aggregation query." items: { type: "object" } } shipping_methods: { type: "array" description: "Store shipping methods and their frequency." items: { type: "object" properties: { count: { type: "string" } name: { type: "string" } } } } to: { type: "string" description: "Statistics end date." } traffic_type: { type: "array" description: "Type of store traffic and its frequency." items: { type: "object" properties: { count: { type: "integer" } name: { type: "string" } } } } visits: { type: "integer" description: "Total number of visits." } } } } } } }