Pythonic access to the Squarespace Commerce API
Project description
#Squarespace_Commerce Python Module
The Squarespace_Commerce module attempts to provide easy access to Squarespace's Commerce API.
Usage
Instantiate the squarespace class to get access to your store: Version defaults to 1.5 order = Squarespace('APIKEY')
#Optional Parameters include: order = Squarespace('APIKEY','APIVERSION','APIBASEURL')
Orders API
#Get the first page of orders, returns 50: order.get_orders()
#Optional Parameters include: order.get_orders(cursor='{Token}',modified_after='{ISO 8601 Date}'',modified_before='{ISO 8601 Date}',fulfillment_status='{PENDING | FULFILLED | CANCELLED}')
#Get a specific order order.get_order('order_id')
#Fulfill a specific order order.fulfill_order('order_id')
#Optional Parameters include: order.fulfill_order('order_id', send_notification={True | FALSE}, ship_date={ISO 8601 Date}, tracking_number='', carrier_name='', service='', tracking_url='{valid_url}'):
Transactions API
#WIP
Inventory API
#WIP
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for squarespace_commerce-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c2784f0da23efc4ed9f53bc2be1ba335d0dcbc184b8f14d28800da6e7ac391 |
|
MD5 | 36ab333d6c8dab2def68e7b9c58ecbfe |
|
BLAKE2b-256 | 01da9950da101bdb3ff9ee13e603121186c42807952e125d4f926acb7a95f0c8 |
Hashes for squarespace_commerce-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0c2b0a9f26c676cd41e39a1dfd71aef87fdeef0846dd2c74bfc9479c97d7fb |
|
MD5 | 36027fa4622a582348bba2be25716138 |
|
BLAKE2b-256 | 975252b9e472039ae8866e7d88bdc9dfb5a813feb9fbfdd5c435e280258c2805 |