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, shared

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_company_info(req)

if res.company_info is not None:
    # handle response

Available Resources and Operations

company_info

  • get_company_info - Get company info

customers

  • list_customers - List customers

disputes

  • list_disputes - List disputes

locations

  • list_locations - List locations

orders

  • list_orders - List orders

payments

  • list_payment_methods - List payment methods
  • list_payments - List payments

products

  • list_product_categories - List product categories
  • list_products - List products

tax_components

  • get_tax_components - List tax components

transactions

  • list_transactions - 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.11.1.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

codat_commerce-0.11.1-py3-none-any.whl (73.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codat-commerce-0.11.1.tar.gz
  • Upload date:
  • Size: 25.9 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.11.1.tar.gz
Algorithm Hash digest
SHA256 f94b94271624666b3a154c21e428a5cdbf5f6ad4ba8fc315c86ced5f417f5a93
MD5 f51d6c24aac929e8f2c06fa27b596a5d
BLAKE2b-256 95958efabe34dd55ad6bdcd3cbae03faf302667d90a6d98b6894f4b3d86a6036

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for codat_commerce-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f1c65dfb4d5c12f1b013bcb0426d04b31872525d10d32af7a8a26bf2c1a4dd7
MD5 168995d39aedaa89c9eb8107c038f483
BLAKE2b-256 d51b4a868ce69ad482aede3a523f7491664eaeeaae55016ae6b80a4de59380e5

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