Skip to main content

Customers

📄️Export Customers

Download all customers matching the current filters as a spreadsheet file (CSV by default, XLSX when format=xlsx). The file contains the columns: Sr No., id, name, company, email, sales_channel_origin_name, integration_instance_name, created_at, updated_at, phone, then the default shipping address (shipping_name, shipping_company, shipping_address1, shipping_address2, shipping_address3, shipping_city, shipping_province, shipping_zip, shipping_country, shipping_phone) and the default billing address (billing_name, billing_company, billing_address1, billing_address2, billing_address3, billing_city, billing_province, billing_zip, billing_country, billing_phone). then the customer's default settings (default_warehouse, default_warehouse_id, default_pricing_tier, default_sales_rep, default_store, default_shipping_method_domestic, default_shipping_method_international — names, except the warehouse id; blank when not set). Address columns are blank when the customer has no default address of that type. Rows are ordered by customer ID ascending and the export is not paginated - every matching customer is included.

📄️Get Customer Tax Exemption Coverage

The customer's resale / exemption certificate (tax_exempt, tax_exemption_reference, tax_exemption_state, tax_exemption_expires_on) measured against every state where the tenant is registered to collect sales tax. Each state gets a status: valid (exempt there), expired, missing (marked exempt with no certificate number), wrong_state (a single-state certificate from another state), or taxable (not marked exempt). `has_warning` is true when any registered state is expired, missing or wrong_state. `configured` is false (and `states` empty) while the tenant has no registrations.