Skip to main content

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

products

tax_components

  • get - List tax components

transactions

  • list - List transactions

SDK Generated by Speakeasy

Project details


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.21.1.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

codat_commerce-0.21.1-py3-none-any.whl (72.4 kB view details)

Uploaded Python 3

File details

Details for the file codat-commerce-0.21.1.tar.gz.

File metadata

  • Download URL: codat-commerce-0.21.1.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

Hashes for codat-commerce-0.21.1.tar.gz
Algorithm Hash digest
SHA256 d30fe8cfa1ec1c06ad428cf4db531f59f03ad02b62fe52dc42e6728282d49b91
MD5 e3961b6e4cd1fcf548d8f1e6286eb201
BLAKE2b-256 17e1dffcc328187d609ee3791bf53d22113d4d5e5031266fa3862294eaf14ea2

See more details on using hashes here.

File details

Details for the file codat_commerce-0.21.1-py3-none-any.whl.

File metadata

File hashes

Hashes for codat_commerce-0.21.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c546c4ecab1065e4b5eb6a47fd3109070934da281435997fc6002cb480636186
MD5 5eb52c07dedf24346ef13071aaf9d2a1
BLAKE2b-256 edc7bb8a988c3991a87bf4cc01b321d6f69e7053d2736536fe7c01f6310d90ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page