Where should product information live when using Stripe? - stripe-payments

What is the right place to store things like product price, title, description when using Stripe, when many products are present?
The app I'm building will potentially have hundreds of products and I would like to easily be able to list them, paginate, search. Should this product data be duplicated both in my database and in Stripe?
The products in question are going to be courses, for an e-learning platform. They need to be integrated with the rest of my schema, so they do need to exist in my database too, but I would like to avoid duplication of certain fields, if possible. I wonder if there's a recommended approach for this.

If it were me I would cache this information in my database and sync it in Stripe as needed.
You want the product and pricing information in Stripe since it's needed for their Product and Price APIs. It's used to display detailed information in email receipts or invoices, on hosted pages like Checkout and in various reconciliation options.
You also want the information in your database since you don't want to hit Stripe's API every time you need to retrieve a product's name or pricing details though especially if you have many products.

Related

Sync two Shopify stores using API

I'm currently working on two Shopify stores but I want to synchronize the customer accounts between these two stores.
I saw in the Shopify dev doc that there is an API to retrieve all the customers and I managed to make it work.
My problem is how can I use the JSON data returned to update my 2nd store database?
It is very easy. I did it like this:
Download all the customers from the store you consider the source. Bulk download or using cursors, does not matter.
For each customer encountered, search the other store for the customer using the customer email for example. You either get back a record or you don't. If you do, you can update it, if you don't you can create it.
Unfortunately, as an exercise in programming there are 1001 ways to do this, and we have no idea what your skills or choices are there.

How do I extract business, advertisement and other reports from amazon MWS API?

I understand how to extract order information from the MWS get_report function but nothing related to the business or the advertisement reports.
My intention is to periodically extract amazon ad related information(clicks,CTR...) and also business reports( sessions, buy box...). Is this even possible?
Anything you'd be able to get would be listed here as a report type enumeration. Out of the things you've asked about, the only possibility that I'm aware of is buy box information. There is some of that in the Products API but the best place is to subscribe to the AnyOfferChangedNotification which gives real time pricing updates with buy box information.

Product ordering through flipcart

I have an eCommerce website which is having so many products. My client is having problem to deliver the ordered products. So here I am looking for a solution that, Is it possible to integrate product ordering with Bit giants (like flipcart, snapdeal), so that the product delivery can take place by them. If any solution pls share.
Multi channel fulfillment by Amazon is one to look at. Keep in mind that any fulfillment center is also going to charge to warehouse (store) the products. http://services.amazon.com/fulfillment-by-amazon/multi-channel.htm

Advanced Amazon search on best seller categories

As an Amazon seller I do lots of research on items to sell. Looking for a way to search on Amazon in different departments for best sellers either programmatically or by other means. For example, under Beauty what are the top sellers for Revlon? You can sort by Relevance, New and Popular, Price, and Avg. Reviews. It would be more helpful to be able to sort by sales volume and/or ranking.
I believe your best option is the Product Advertising API. It has undergone a ton of changes over the years though, so it might be tough to find current documentation of all the calls.
This gives you programmatic access to Amazon product metadata ostensibly so one can advertise them.

So, you're not allowed to copy data from foursquare's Venue Platform?

I was reading the API policy of foursquare Venue Platform.
"You may not use the API to to add new places to your database or alter location details for places in your database."
It raised two questions to me:
1. How would they know, if one added new places, etc. to his/ her own database?
I hear that foursquare (used to) use the google maps api, to retrieve information for locations, so does that mean it is viable to use Google Map's data to create one's own basic database?
Any help is appreciated.
Basically they are telling you - you can use our API and database to create great apps, but do not steal our know-how(the database copy). They won't probably find out if you copy few of them, but say - you make a startup based on their database which you fully copied, then they can sue you and get you in trouble....
For Google usage, refer to Google Policy here.

Resources