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.20.0.tar.gz
(26.6 kB
view details)
Built Distribution
File details
Details for the file codat-commerce-0.20.0.tar.gz
.
File metadata
- Download URL: codat-commerce-0.20.0.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8ce27f6f71598b973a5b6bbb4abbee694832e0da9080a28cc26e3228824ff8a7
|
|
MD5 |
e3a9beed7ce426612b953ccb7dcb5b70
|
|
BLAKE2b-256 |
4193ffbd01d69b73b6690ba050be2861a1170f8757c98ca1116881460f48d485
|
File details
Details for the file codat_commerce-0.20.0-py3-none-any.whl
.
File metadata
- Download URL: codat_commerce-0.20.0-py3-none-any.whl
- Upload date:
- Size: 72.6 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 |
2523b0c21ec5bf2a0c635e0017334a64e2c670a9690feb6a0f91e5edbb740abf
|
|
MD5 |
be729b104f3e897b746c2e7cfde27e9d
|
|
BLAKE2b-256 |
64d97b5eae3c4fa193011c778df789e43b1e3627f1e4d57efc4b6827c55bc649
|