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="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

  • get - Get customer
  • list - List customers

disputes

  • get - Get dispute
  • list - List disputes

locations

  • get - Get location
  • list - List locations

orders

  • get - Get order
  • list - List orders

payments

products

tax_components

  • get - Get tax component
  • list - List tax components

transactions

  • get - Get transaction
  • 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.24.1.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

codat_commerce-0.24.1-py3-none-any.whl (88.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codat-commerce-0.24.1.tar.gz
  • Upload date:
  • Size: 30.1 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.24.1.tar.gz
Algorithm Hash digest
SHA256 0d12d63a4f618214cfcad2ea50767754c64e49c164a04fc9fa0bda64fbbd50f6
MD5 eee63c00e22adec06ecfd6043c0d95c5
BLAKE2b-256 010fade5ce81c366322988dcc6e1fb4b43b1645d0013e6b02c04b1ea327eb978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for codat_commerce-0.24.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54238cab44da853ee41d6920e52a4c4f068072dafe52800b1f9dfe50d65da1ca
MD5 83b3931cc46cacde7cc328ce38b4e99b
BLAKE2b-256 dc85ed5b39bd67a5205e5c83aefa8f4d13bc173877ee7c964826f97be1a468d4

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