
Article
What it brings in: orders, trashed orders, order line items, refunds, order refunds and 21 more.
In WordPress, open Settings, then General, and copy Site Address (URL). Use it as it is, starting https://, with any folder WordPress lives in, such as https://example.com/shop. Leave out /wp-admin and any page after it.
https://shop.example.comIn WordPress, open WooCommerce, then Settings, then the Advanced tab, and REST API. Click Add key, or Create an API key on a store that has none yet.
Under Key details, type Infograph as the Description. As User, choose an Administrator or Shop manager, as the key reads what that user may see. Set Permissions to Read, then click Generate API key. A Read key cannot change anything in your store.
WooCommerce shows a Consumer key, starting ck_, and a Consumer secret, starting cs_. Copy both now: the secret is shown only once.
Open WooCommerce in Infograph, type your address into Store address, paste the key into Consumer key and the secret into Consumer secret, then press Connect. Pick the tables you want and Infograph starts loading them, with your store's full history.
Each becomes a table in Infolake that you can chart, report on or ask about. You choose which to sync.
ordersEvery order of any status, read while it is not in the trash, with the customer, billing and shipping details, totals, tax, discounts, shipping, payment method, line items and dates. Each amount also comes as an exact decimal. The base for sales, product and customer dashboards.
Ask: “What were our sales each week this quarter?”
trashed_ordersOrders in the trash, with the same fields as Orders. A restored order leaves this table.
Ask: “How many orders did we trash last month?”
order_line_itemsEach product line on each order, with the product, variation, SKU, quantity, price, subtotal, tax and total. A line removed when an order is edited leaves on a later sync.
Ask: “Which products sold the most units last month?”
refundsEvery refund across the store, with its amount, reason, the order it belongs to and when it was made. Offered on WooCommerce 9.0 and later.
Ask: “How much did we refund each month this year?”
order_refundsRefunds read order by order, with the amount, reason and when. Offered instead of Refunds on stores older than WooCommerce 9.0, or when the store hides its list of endpoints.
Ask: “Which orders were refunded last month, and for how much?”
order_notesThe notes on each order, such as status changes and messages to the customer, with who wrote them and when. Shows each order's history.
Ask: “How long do orders take to go from processing to completed?”
customersEvery registered user of any role, usually customers but also staff such as administrators, with their name, email, billing and shipping details and when they signed up. Guests are not here, see Orders.
Ask: “How many customers registered each month this year?”
productsEvery product, trashed ones included, with its name, SKU, type, status, prices, stock, categories and tags. Ties orders back to what you sell.
Ask: “Which products are low on stock?”
product_variationsThe variations of each variable product, such as a size or colour, with SKU, prices and stock.
Ask: “Which sizes of our best seller sell most?”
couponsEvery coupon, read while it is not in the trash, with its code, discount type, amount, limits, expiry and how many times it has been used.
Ask: “Which coupons were used most this year?”
trashed_couponsCoupons in the trash, with the same fields as Coupons. A restored coupon leaves this table.
Ask: “Which coupons did we trash?”
product_categoriesYour product categories, with their name, parent and product count.
Ask: “How much did each category sell last month?”
product_tagsYour product tags, with their name and product count.
Ask: “Which product tags are on the most products?”
product_attributesThe global attributes products use, such as Size or Colour.
Ask: “Which attributes do our products use?”
product_attribute_termsThe values of each attribute, such as Small, Medium and Large.
Ask: “Which sizes do we offer?”
product_shipping_classesYour shipping classes, such as Bulky, and how many products are in each.
Ask: “How many products are in each shipping class?”
product_reviewsEvery product review, approved or not, with the product, rating, reviewer, whether they are a verified buyer, and the date.
Ask: “What is the average rating of each product?”
tax_ratesYour tax rates, with the country, state, postcode, rate, name and class.
Ask: “Which tax rates do we charge in each country?”
tax_classesYour tax classes, such as Standard and Reduced rate.
Ask: “Which tax classes do we use?”
shipping_zonesYour shipping zones, with their names and order.
Ask: “Which shipping zones do we have?”
shipping_zone_locationsThe countries, states and postcodes in each shipping zone.
Ask: “Which countries are in each shipping zone?”
shipping_zone_methodsThe shipping methods offered in each zone, such as flat rate or free shipping, with whether they are enabled.
Ask: “Which zones offer free shipping?”
shipping_methodsThe kinds of shipping method your store can offer, such as flat rate, free shipping and local pickup.
Ask: “Which shipping methods can our store offer?”
payment_gatewaysThe payment methods your store has, with their title and whether they are enabled. Their settings, which can hold gateway secrets, are left out.
Ask: “Which payment methods are enabled at checkout?”
store_settingsYour store's general settings, such as its address, currency, decimals and where it sells. Gives every money column its context.
Ask: “What currency is our store in?”
subscriptionsEvery subscription from the WooCommerce Subscriptions extension, with the customer, status, billing period, totals, line items and its start, next payment and end dates. Offered only on stores with the extension. The base for recurring revenue and churn.
Ask: “How many active subscriptions do we have, and how many were cancelled each month?”
Each entry is the message Infograph shows when a connection fails. Open it for the fix.
WooCommerce did not accept the key and secret together. Check you pasted the Consumer key into Consumer key and the Consumer secret into Consumer secret, each in full. A key that is revoked under WooCommerce, Settings, Advanced, REST API, or whose WordPress user is deleted, stops working too, and a connection that synced before then shows this. Create a new key with Read permission, open the connection in Infograph, choose Edit configuration and paste the new key and secret.
These happen in WooCommerce itself, where Infograph cannot see them.
Dashboards and guides built on WooCommerce data.
Can we use Google Analytics cookies to see which pages people read? Privacy policy