All Projects → hakanensari → mws-orders

hakanensari / mws-orders

Licence: MIT license
A Ruby interface to the Amazon MWS Orders API

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to mws-orders

Gogrocery
Its an eCommerce app inspired from Amazon , big Basket , grofers ,grocery app , Etc
Stars: ✭ 62 (+342.86%)
Mutual labels:  ecommerce, amazon
Peddler
Amazon MWS API client
Stars: ✭ 298 (+2028.57%)
Mutual labels:  ecommerce, amazon
awesome-ecommerce
Collect and develop Open Source or Free Projects for building ecommerce platform easy and fast and free
Stars: ✭ 39 (+178.57%)
Mutual labels:  ecommerce, amazon
Awesome Amazon Seller
A curated list of tools and resources for Amazon sellers.
Stars: ✭ 117 (+735.71%)
Mutual labels:  ecommerce, amazon
opencartbrasil
O projeto OpenCart Brasil é uma plataforma gratuita de loja online para lojistas brasileiros.
Stars: ✭ 55 (+292.86%)
Mutual labels:  ecommerce
solidus virtual gift card
Virtual gift cards for your Solidus store.
Stars: ✭ 22 (+57.14%)
Mutual labels:  ecommerce
eshop
e-commerce website built with reactjs & redux on the frontend and lumen on the backend.
Stars: ✭ 27 (+92.86%)
Mutual labels:  ecommerce
taxjar-python
Sales Tax API Client for Python 2.6+ / Python 3+
Stars: ✭ 24 (+71.43%)
Mutual labels:  ecommerce
MoneyWellSpent
A script to summarize your money spent on Amazon
Stars: ✭ 16 (+14.29%)
Mutual labels:  amazon
tudien
Từ điển tiếng Việt dành cho Kindle
Stars: ✭ 38 (+171.43%)
Mutual labels:  amazon
NBrightBuy
NBrightStore - E-Commerce for DNN (NBSv3)
Stars: ✭ 21 (+50%)
Mutual labels:  ecommerce
spree-storefront-api-v2-js-sdk
Spree Storefront API JavaScript / TypeScript SDK
Stars: ✭ 98 (+600%)
Mutual labels:  ecommerce
geeks-for-geeks-solutions
✅ My own Amazon, Microsoft and Google SDE Coding challenge Solutions (offered by GeeksForGeeks).
Stars: ✭ 246 (+1657.14%)
Mutual labels:  amazon
moreThanFAANGM
This repository contains opportunities for you to apply to more than 300 product base companies(NOT JUST FAANGM) & good start-ups.
Stars: ✭ 2,609 (+18535.71%)
Mutual labels:  ecommerce
GoGonicEcommerceApi
Ecommerce Rest API application built in Go with Gin Gonic + Gorm
Stars: ✭ 81 (+478.57%)
Mutual labels:  ecommerce
nuxt-ecommerce
🛍 Ecommerce Store with Nuxt
Stars: ✭ 82 (+485.71%)
Mutual labels:  ecommerce
unified-instantsearch-ecommerce
The fastest way to implement Algolia, for e-commerce customers.
Stars: ✭ 26 (+85.71%)
Mutual labels:  ecommerce
ioBroker.cloud
Enable access to ioBroker from internet
Stars: ✭ 36 (+157.14%)
Mutual labels:  amazon
mapbox-assistant-example
Examples of Amazon Echo, Google Home, and other bots interacting with Mapbox services.
Stars: ✭ 15 (+7.14%)
Mutual labels:  amazon
E-commerceCustomerFYP
Android E-commerce Platform. Allow customer to buy product, chat, feedback rating, make payment to retailer
Stars: ✭ 41 (+192.86%)
Mutual labels:  ecommerce

MWS Orders

Build

MWS Orders is a full-featured Ruby interface to the Amazon Marketplace Web Service (MWS) Orders API. With the MWS Orders API, you can list orders created or updated during a time frame you specify or retrieve information about specific orders.

To use Amazon MWS, you must have an eligible seller account.

Usage

Create a client:

require 'mws/orders/parser'
client = MWS.orders(marketplace: 'ATVPDKIKX0DER',
                    merchant_id: '123')

Set up credentials when instantiating or with environment variables.

Orders

List orders created or updated during a time frame you specify:

response = client.list_orders('ATVPDKIKX0DER', created_after: 1.month.ago)
orders = response.parse
puts orders.count # => 100
orders.first.inspect # => #<MWS::Orders::Order 902-3159896-1390916>

List the next page of orders:

client.list_orders_by_next_token(orders.next_token).parse

Get one or more orders based on their order numbers:

response = client.get_order('902-3159896-1390916')
orders = response.parse
orders.first.inspect # => #<MWS::Orders::Order 902-3159896-1390916>

Order Items

List order items:

response = client.list_order_items('902-3159896-1390916')
order_items = response.parse

List the next page of order items:

client.list_order_items_by_next_token.parse

Orders and order items are represented by POROs that map one on one to the attributes returned by the API.

Service Status

Check the operational status of the API:

client.get_service_status.parse
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].