Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Active Merchant library for integration with order fulfillment services
Ruby
Failed to load latest commit information.
lib adds mws auth token to initializer and api requests
test remove deprecated test
.gitignore Fix Minitest for activesupport 4.0
.travis.yml Fix Minitest for activesupport 4.0
CHANGELOG.md Update docs
CONTRIBUTING.md Update docs
Gemfile
Gemfile.activesupport32 Fix Travis build matrix
Gemfile.activesupport40 Fix Travis build matrix
Gemfile.activesupport41 Fix Travis build matrix
Gemfile.activesupport42 Fix Travis build matrix
README.md
Rakefile Update gem dependencies
active_fulfillment.gemspec Update gem dependencies
shipit.rubygems.yml deploy using shipit

README.md

ActiveFulfillment Build Status

Library for integration with order fulfillment services.

Installation

Add to your gem file, and run bundle install.

gem 'active_fulfillment'

Usage

# The authentication options differ per service.
service = ActiveFulfillment.service('name').initialze(login: 'abc', password: 'def')

# To fulfill an order:
service.fulfill(order_id, shipping_address, line_items, options = {})

# To find out how much stock is left
service.fetch_stock_levels(options = {})

# To obtain tracking numbers.
service.fetch_tracking_numbers(order_ids, options = {})

The options hash is used to set service-specific options. See http://www.rubydoc.info/gems/active_fulfillment for the API documentation.

Other information

  • This project is MIT licensed.
  • Contributions are welcomed! See CONTRIBUTING.md for more information.
Something went wrong with that request. Please try again.