Amazon MWS PHP-API Access and Print Out Packing List - php

How do I use Amazon MWS with PHP to access and print out packing lists? What is the process, and if possible what are the steps? Examples would be helpful.

Because you're talking about MWS and "packing lists", I assume the following to be true:
You are an Amazon Seller
You are sending out packages yourself (MFN / merchant fulfillment), and not using AFN / FBA (Fulfillment by Amazon)
To create packing lists, you will roughly have to do the following:
Fetch the "OrderReport" from the Amazon MWS Servers. The returned XML will contain details for your all outstanding orders including: shipping address, quantities, SKUs and product names.
Confirm the reception of those orders through the "OrderAcknowledgment" API call
Use above data to create pretty HTML files, images, PDF files or whatever else that can be printed as packing lists
While you're at it, you may want to look at the "OrderFulfillment" call. This lets Amazon know that you've actually shipped.
The sample PHP code you linked should help you with steps 1 and 2.
(for future reference: sample client code in PHP,C# and Java is available at https://developer.amazonservices.com/ . Follow the API documentation links to get current versions)

I am a little confused by your question because of the use of packing lists.
Amazon makes labels available, but the labels are used to differentiate between multiple sellers of the same SKU, and is not a packing list in and of itself. Amazon generates their own packing list when an order is placed for AFN orders, and MFN orders are send to you for processing via your own process.
However, assuming you are looking for the Amazon labels I took a quick look through all the API's and did not see any information on printing them. As far as I know this is only available through seller central, however if any API does that functionality it would be the feeds API.
I would suggest creating an account on https://sellercentral.amazon.com/forums/forum.jspa?forumID=35 and asking the folks there - several Amazon Employee's monitor that forum and Oneida Books is the resident guru and can pretty much answer anything API related.

Related

Getting compact information from Square Connect API

I want to load Transactions with their Items and Customer from Square Connect API (using PHP client library), but Transactions don't contain any link to their Items unless there is order_id which often tends to be null.
As mentioned in Getting item names from Square Connect API I could go back to version 1 of the API and get list of Payments which includes Items, but there is no connection to Customer.
I know I could join Transactions to Payments by using Tenders which are included in both and get all information I need that way, but it doesn't seem to be good approach (combining two versions of API just seems wrong considering old versions of other APIs tend to deprecate and shut down after some time) and it would be very inefficient for both sides (more requests + downloading duplicate data just to try to match them).
So I would like to know if there's any better way to do this or why isn't.
Ditto on this (I can't comment yet - not enough rep). FreshKDS pull these details from the API (somehow) to display items on their Kitchen Screen. However as I'm already using a cloud service like Zapier (for Woo Orders to Trello Cards) and don't want to have the additional KDS cost as it doesn't pull square orders from WooCommerce (obviously).
So I need to be able to get the Square POS new order details to also create a Trello card - which I am using as a Kitchen Screen.
In regards to the OP's question: Does anyone have any info about webhooks perhaps, or a way to pull an entire order (even if I have to clone it to a database or cloud based spreadsheet) to allow viewing or iteration of individual food/ drink items?
Cheers.

How to get all product using amazon mws ListMatchingProducts api?

I am trying to get all product that are in my client's seller account. The problem is that Amazon MWS ListMatchingProducts api call returns a response of maximum 10 products. Actually I want to get all products that are in the seller's account. I have tried hard to find a solution for several days. Any helpful suggestion will be highly appreciated and thanked.
The ListMatchingProducts operation is part of the MWS Products API, which is meant to access information about products that are in the Amazon catalog, not listings that are in your seller account.
To access the listings in your seller account, you need to use the MWS Reports API. The list of report types related to listings is here.
Like Cosmo said, the ListMatchingProducts operation is used to query products in the Amazon catalog by known product identifiers like UPC, EAN, etc. and you cannot use it to query products in your own seller account. Check out the Inventory Report in the Reports API. If you use one of the client libraries, then most of the work is done for you. Just retrieve the report, then process the xml however you need to to get the data you want out of it.

how to get store product details using PHP SDK or amazon PAAPI

I want to get product details i.e. their name,desctiption/features,price,all images(small,medium, large, whichever available),parent category, attributes such as weight, color, etc from amazon.com.
Is this possible by any means?
I am developing a website in php(wordpress) that will show products from amazon.com
I came across amazon aws sdk for php and amazon PA API, but don't know how to use them to get what i want.
Also found Amazon-ECS-PHP-Library but don't don't know how to use it.
Can anyone tell me about any tutorial or any documentation or any kind of resourec that shows how to get the things that i want.
i am registered at amazon affiliate.I see the services available ( like EC2,S3 and other) but not aware of using them.
Please help.
The Product Advertising API falls under the Amazon Associates program, which is entirely separate from Amazon Web Services (AWS) which includes Cloud Computing solutions and server architecture.
The AWS SDK for PHP is for AWS, and does not include support for the Product Advertising API.
Since your question is about PHP and the PAAPI, let me move your question to the appropriate forum where you're more likely to get your question answered.

Retrieving an Amazon Store's List of products using PHP?

My apologies if this is a duplicate question, but I haven't come across anything that is of much help.
I am building a website for a client that is an index of their eBay and Amazon stores. This requires building a list of products that are currently in each. The eBay API has a GetSellerItems call that is simple enough, but I am having a harder time finding something similar in Amazon's AWS.
I've looked at the Product Advertising API briefly, but I am not convinced this is what I need.
Basically, how do I retrieve a list of a specific Amazon store's products with PHP?
Thanks for any leads or tips.
http://aws.amazon.com/code/Product-Advertising-API/4373 I think this is one of the most popular one's
There are also other php based libraries available at..
http://aws.amazon.com/code/Product%20Advertising%20API?_encoding=UTF8&jiveRedirect=1
I was best able to get the inventory of my store by registering with Amazon Marketplace Web Services (https://developer.amazonservices.com/) and using the reports API.

How to get Amazon Seller Central orders programmatically?

We have been manually been keying Amazon orders into our system and would like to automate it. However, I can't seem to figure out how to go about it. Their documentation is barely there.
There is:
Amazon Inventory Management (AIM) API: That is supposed to manage orders and inventory
Event Notification Service (ENS) API: Get order notifications
Seller Central SOAP API: Upload inventory and manage orders
Amazon Marketplace Web Service (Amazon MWS): Manage inventory and orders
So hich do I use? Using REST instead of SOAP is very much preferred. Can anyone point me out some better documentation/examples?
AIM and SOAP are historical APIs. The best choice is MWS, which supports all features of AIM and SOAP (i.e. all listing activity, inventory reports, order reports, order acknowledgement and cancellations, refunds, settlement reports).
MWS is also well documented at mws.amazon.com, and example client libraries are provided for Java, C# and PHP. For feed and report formats, you should refer to Seller Central Help pages for all formats (unless you are a Marketplace seller, in which case the help pages are accessible from your seller account page).
You may also want to peruse www.amazonservices.com
Finally, here's a link to the SOA-GuideToXML.pdf document, which describes the details of the XML feeds and reports, as well as the overall workflow:
http://g-ecx.images-amazon.com/images/G/01/rainier/help/tutorials/SOA-GuideToXML.pdf
I think Amazon's API is a confusing mess to deal with. I just wrote a simple tool to extract data from my Amazon wishlist and it was far harder than it should have been.
I would guess that you want to use the Marketplace service, but I could be wrong. If you're dealing with PHP, there is a PHP API that you might find helpful - Tarzan (link disabled - this package is apparently no longer available)
Here is a Amazon forum for that should help: http://www.amazonsellercommunity.com/forums/forum.jspa?forumID=32, and a PDF overview
If you (obviously not reffering to YOU) don't feel comfortable with web services and API calling (communication). You can download a flat file from Sellercentarl.amazon with your order information, and use an import method to enter the whole file at once, without retyping any info. Obviously the exact pricess would depend on What system you are trying to enter these orders into.
Good Luck!

Categories