Skip to main content

Access standardized commerce data from our commerce integrations.

Project description

Commerce

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

Example Usage

import codatcommerce
from codatcommerce.models import operations, shared

s = codatcommerce.CodatCommerce(
    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
    pass

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

Library 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.34.0.tar.gz (32.3 kB view hashes)

Uploaded Source

Built Distribution

codat_commerce-0.34.0-py3-none-any.whl (90.6 kB view hashes)

Uploaded Python 3

Supported by

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