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
Metadata
Release files for squarespace-commerce 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| squarespace_commerce-0.1.9.tar.gz | 3.2 kB | Without provenance | Details for squarespace_commerce-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| squarespace_commerce-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for squarespace_commerce-0.1.9-py3-none-any.whl |
Total release size: 6.6 kB
Release files / squarespace_commerce-0.1.9.tar.gz
| Download URL | squarespace_commerce-0.1.9.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf9ac8a37f7227b83c1fcf1f393b2afa3a923585e381a13ffeac9d26e5a90da3
|
|
BLAKE2b-256 checksum How to use checksums |
ca1a15799c4fb20809f9da939c6269ccbd4b248c31eadde9847ff5f393ffe32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.7.3 Darwin/19.2.0
|
Release files / squarespace_commerce-0.1.9-py3-none-any.whl
| Download URL | squarespace_commerce-0.1.9-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9f6a3d5bbaceae927616fef554786dfe5048a4376e0791df1bbc053cdbf6145
|
|
BLAKE2b-256 checksum How to use checksums |
640a5c6fcb992fcfac7822352284e48bf0b78efb59f148a6471e2560a5582465
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.7.3 Darwin/19.2.0
|
Security for squarespace-commerce 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.