Welcome to the VeraCore API Python Client’s Documentation!

Examples

Retrieving orders that are in an unprocessed state:

from veracore_api_client import VeraCore
from veracore_api_client.constants import ORDER_STATUS_UNPROCESSED


veracore = VeraCore(username='APIUsername', password='APIPassword', system_id='APISystemID', domain='VCDomain.veracore.com')
orders = veracore.get_orders(order_status=ORDER_STATUS_UNPROCESSED)

for order in orders:
  print('ID: %s | Status: %s | Stream: %s | Ordered By: %s | Ship To: %s' % (
     order['ID'], order['CurrentOrderStatus'], order['OrderClassification']['OrderProcessingStream'],
     order['OrderedBy']['Name'], ','.join([shipment['ShipTo']['Name'] for shipment in order['Shipments']])
  ))

API Documentation

You can find out more regarding the API in the Official VeraCore.com REST API Documentation

The Swagger documentation can be found here: https://domain.veracore.com/VeraCore/Public.Api/swagger/ui/index

  • Replace {domain} with your VeraCore domain name

Authors & License

This package is released under an open source GNU General Public License v3 or later (GPLv3+) license. This package was originally created by Eli Keimig.

The latest build status can be found at Travis CI

Indices & Tables