Skip to main content

Connect to the smartetailing website order feeds

Project description

Smartetailing Package

This package provides a simple, thin wrapper around the 3 major smartetailing endpoints. It also provides a Pythonic object representation of the order xml export. v2.00 is the XML version currently required.

Examples

  • Basically, just instantiate SmartetailingConnection() object and call the public methods.
    from smartetailing import connection, objects
    
    connect_website = connection.SmartetailingConnection(base_url='www.example.com/webservices/xml/feeds.cfc', merchant_id=01234, urlkey='SECRET')
    orders = list(connect_website.export_orders())  # List[WebOrder]
    connect_website.confirm_order_receipts([o.id for o in orders])
    connect_website.update_order_status(orders[0].id, 'Completed')
    
  • TODO - Doc comments need to be better

Notes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smartetailing-0.4.5.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smartetailing-0.4.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file smartetailing-0.4.5.tar.gz.

File metadata

  • Download URL: smartetailing-0.4.5.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for smartetailing-0.4.5.tar.gz
Algorithm Hash digest
SHA256 6af42844c844db94858faea37346aef811a9c0ed78443d9dfedbf0f0b470bb24
MD5 2f64db18584ac2870c06b599e060ea69
BLAKE2b-256 5716849c16e9d7cdd2b1a5f39bb6e2b70b187f540fe6674c9ec7443d16a70e6a

See more details on using hashes here.

File details

Details for the file smartetailing-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: smartetailing-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for smartetailing-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cecb984566cba3235e234049e41e6b08ddee96af09951179c8582bdd6d98fd17
MD5 2a171794c27e2383ca22ca6202c14911
BLAKE2b-256 8b288918d6f8521a45c45b84b17b870a7c17fa1e24e7b0d7627b1bf041ea8863

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page