Is it possible to get stats on combined categories from Sendgrid Web API v3 - api

I am successfully querying the Sendgrid Web API v3 for category stats, using the following endpoint, as documented at Web API v3 Category Stats;
https://api.sendgrid.com/v3/categories/stats?start_date=2015-01-01&end_date=2015-01-02&categories=sales&categories=north&categories=tech
This returns the stats for each category. So I get a row of data for Sales, a row for North and a row for Tech.
What I really want is to make custom queries for cross-sections of categories. So I'd actually like to know the stats for emails that had the categories of both Sales and Tech for example.
Is there any way to this via the API?

There is no way to accomplish this via the API after the emails have been sent. If you know which categories you want grouped, you can specify a unique common category at send time for emails that have category sales OR tech and then query based on that super-category.

Related

is there any way to query Admitad API Products Feed?

We are developing a client project where we need to advertise products through affiliate marketing on client's website. Admitad is a popular affiliate network so we chose to go with that. We have joined with Myntra in an affiliate program.
There is an API to receive products feed of the advertiser company. We are getting about 1.5 million products in return from Myntra. But problem is we cannot query the data based on any category on the API. We simply cannot pass any parameter to query the product feed.
There is category id and category name provided to each of the product. We only want to receive products in the category of footwear, say 'shoes', 'sandals', 'flip-flop'.
But it seems we cannot query API.
I have even tried to contact support also, but it has been of no use.
So if anyone has worked with Admitad APIs or know this situation, please help!
Thanks in advance!

How do I find the Item ID for products on eBay?

I am trying to use eBay's RESTful Sell API and Buy API to make an order management application. To test the API calls, I have successfully created seller and buyer accounts. Further, I have uploaded some inventory from my sellers account and published the offer.
Now I wish to place an order from the buyers account on the items in the same listing. From my understanding, I have to specify the items to be ordered by providing the Item IDs. However, I cannot figure out how to find the Item ID required for purchasing these items. Where can I find the Item ID's corresponding to an offer?
In case this is not the correct approach and there is some alternate way to go about doing this, what steps am I required to take?
Apparently, the itemId is the same as the listingId. The newer RESTful API's make use of the variable listingId to represent an identifier for a published listing. The same variable is referred to by the name itemId in the older, Trading APIs. The value for listingId/itemId is generated when publishing an offer and converting it into a listing. Thus, it can be fetched either at the time of publishing the offer (present in the response under the variable named listingId) or it can be fetched through an order (present in the response under the variable legacyItemId.

How to retrieve listing price data for specific event using ticketmaster's developer API?

I made a Ticketmaster developer account and I would like to pull listing price data for specific events. I am able to retrieve this type of listing data for specific events using Stubhub's API, but looking through Ticketmaster's API documentation, I don't see any specific API requests that will return listing data, such as section, row and listing_price.
Am I missing something, or is it not possible to retrieve this type of listing data using Ticketmaster's API?
For anyone who stumbles upon this in the future, TicketMaster does offer this functionality through their availability endpoint. However you have to be a TM nexus partner to use it, and getting approved as a partner depends on what your business/software does and income etc...

Retrive Sales Data through API for sales from POS

I am trying to do some custom analytics and analysis for my business. We use the Square POS, and have access to the API. I can retrieve the transactions, but cannot seem to get the Order ID's that I need to batch retrieve the orders. What am I missing? Is it possible through the API to access the same sales data that I can see in my dashboard?
It depends on what exactly you are looking for. Items that are sold? Try the v1Payments endpoint. The order's endpoint that you are using is for primarily for pulling the transaction data from e-commerce transactions.

Bigcommerce API Get All Skus

I'm trying to load all Skus from a Bigcommerce store. I first tried to use the API path /products/skus/count to get a count of the number of skus in the store as outlined in the BC documentation at https://developer.bigcommerce.com/api/stores/v2/products/skus However, the /products/skus/count endpoint is returning {"count":0}. I know for a fact that I have hundreds of products with a sku. Ultimately I'd like to get a list or array of just the skus in my store. Has anyone else been able to use this API or know a way to load all the skus in my store without loading all the product object graphs as that is too slow of a solution as I don't need all the additional information nor do I want to page through all my products since it's limited to 250 items at a time. All of my other API calls are working great so I'm questioning whether there is an issue with the specific API.
Are you try to get the "sku" property for all products or the SKU resource associated with a product?
The api call at the url that you've given https://developer.bigcommerce.com/api/stores/v2/products/skus
will return all the SKU resource/object associated with a product. You can either get skus for all products using the resource "products/skus/count" or a specific product using "products/{productid}/skus/count". Both calls works as documented.