Repository is archived
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Framework and tools for dealing with shipping, tracking and order fulfillment services.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 4.7
~> 1.1
>= 0
>= 0

Runtime

~> 3.3.1
>= 2.0.0
>= 1.6.8
 Project Readme

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').new(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.