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.33.1.tar.gz
(31.1 kB
view details)
Built Distribution
File details
Details for the file codat-commerce-0.33.1.tar.gz
.
File metadata
- Download URL: codat-commerce-0.33.1.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
45365803a66231bf335b46970f74c5f6c0057a3c969ef9b1a8f4409439726d26
|
|
MD5 |
cdb4cc463add3e013477c921ba8e8ae2
|
|
BLAKE2b-256 |
b20591071efea962e7d21e29ff92d3c5d4fa7c22c9f5020443eab41f0a7fca7a
|
File details
Details for the file codat_commerce-0.33.1-py3-none-any.whl
.
File metadata
- Download URL: codat_commerce-0.33.1-py3-none-any.whl
- Upload date:
- Size: 91.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b1380b7127bb5146dc3f8ed4005766e5003f3eee1e42dc09d500afbfb7d8f907
|
|
MD5 |
175ee99681c6d97c664de1f39b458f9c
|
|
BLAKE2b-256 |
0e018f9130ec11e45876950bab553221eba072d5a0e40299e99a048d08b84ce7
|