Python Client SDK Generated by Speakeasy
Project description
Commerce API
Codat's Commerce API enables you to pull up-date-date commerce data from several leading payments, point-of-sale, and eCommerce systems. You can view your SMB customers' products, orders, payments, payouts, disputes, and more - all standardized to our Commerce data model.
SDK Installation
pip install codat-commerce
SDK Example Usage
import codatcommerce
from codatcommerce.models import operations
s = codatcommerce.CodatCommerce(
security=shared.Security(
auth_header="YOUR_API_KEY_HERE",
),
)
req = operations.GetCompanyInfoRequest(
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
)
res = s.company_info.get(req)
if res.company_info is not None:
# handle response
Available Resources and Operations
company_info
- get - Get company info
customers
- list - List customers
disputes
- list - List disputes
locations
- list - List locations
orders
- list - List orders
payments
- list - List payments
- list_methods - List payment methods
products
- list - List products
- list_categories - List product categories
tax_components
- get - List tax components
transactions
- list - List transactions
SDK Generated by Speakeasy
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
codat-commerce-0.14.1.tar.gz
(26.4 kB
view details)
Built Distribution
File details
Details for the file codat-commerce-0.14.1.tar.gz
.
File metadata
- Download URL: codat-commerce-0.14.1.tar.gz
- Upload date:
- Size: 26.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0e725d76b05ba437d37578f955e176936678807d540c14ce8b457130bc3bb03c
|
|
MD5 |
1123bd34b0b60371f3f57887eb4f239a
|
|
BLAKE2b-256 |
663ad1445a2a435fdc96a68c783cd83038429238d149ce8bd10306891333548d
|
File details
Details for the file codat_commerce-0.14.1-py3-none-any.whl
.
File metadata
- Download URL: codat_commerce-0.14.1-py3-none-any.whl
- Upload date:
- Size: 71.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c9cfb1bcba0479a2cbac25b78b065468324af1e0b783ea16c7257b8eb6eedcc4
|
|
MD5 |
cb833d6db434e0f6a49dec37af868206
|
|
BLAKE2b-256 |
3be5a24e3839c3fa57ee0bf897bac0ad6a046e986c8c443cb9b13bf277ef19a1
|