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="Basic BASE_64_ENCODED(API_KEY)",
),
)
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
disputes
locations
orders
payments
- get - Get payment
- get_method - Get payment method
- list - List payments
- list_methods - List payment methods
products
- get - Get product
- get_category - Get product category
- list - List products
- list_categories - List product categories
tax_components
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.27.0.tar.gz
(30.2 kB
view hashes)
Built Distribution
Close
Hashes for codat_commerce-0.27.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a29c7ae0d7427fc0f0ad1517d5dc787a9a07d2c7036a69f6be28e9654fb318 |
|
MD5 | 946a0f3e94c466e4bbc7472cd9d8d565 |
|
BLAKE2b-256 | 66f6419f9dbdb3cee0b67ea54ac930112fb774a0297f85f0147e6fc5afbe0446 |