Customers
Customers
Customers
Archive a customer
v1.customers.archive(CustomerArchiveParams**kwargs) -> dataIDCustomerArchiveResponse
post/v1/customers/archive
Create a customer
v1.customers.create(CustomerCreateParams**kwargs) -> dataCustomerCustomerCreateResponse
post/v1/customers
List customers
v1.customers.list(CustomerListParams**kwargs) -> SyncCursorPage[idstrcreated_atdatetimecustom_fieldsDict[str, str]customer_configCustomerConfigexternal_idstringest_aliaseslistnamestrarchived_atdatetimecurrent_billable_statusCurrentBillableStatusCustomerDetail]
get/v1/customers
Get billable metrics for a customer
v1.customers.list_billable_metrics(CustomerListBillableMetricsParams**kwargs) -> SyncCursorPage[idstrnamestraggregatestraggregate_keyslistaggregation_keystraggregation_typeliteralarchived_atdatetimecustom_fieldsDict[str, str]event_type_filterEventTypeFilterfilterDict[str, object]group_bylistgroup_keyslistproperty_filterslistsqlstrCustomerListBillableMetricsResponse]
get/v1/customers/{customer_id}/billable-metrics
Get customer costs
v1.customers.list_costs(CustomerListCostsParams**kwargs) -> SyncCursorPage[credit_typesDict[str, CreditTypes]end_timestampdatetimestart_timestampdatetimeCustomerListCostsResponse]
get/v1/customers/{customer_id}/costs
Preview events
v1.customers.preview_events(CustomerPreviewEventsParams**kwargs) -> dataInvoiceCustomerPreviewEventsResponse
post/v1/customers/{customer_id}/previewEvents
Get a customer
v1.customers.retrieve(CustomerRetrieveParams**kwargs) -> dataCustomerDetailCustomerRetrieveResponse
get/v1/customers/{customer_id}
Create or update customer ingest aliases
v1.customers.set_ingest_aliases(CustomerSetIngestAliasesParams**kwargs)
post/v1/customers/{customer_id}/setIngestAliases
Update a customer name
v1.customers.set_name(CustomerSetNameParams**kwargs) -> dataCustomerCustomerSetNameResponse
post/v1/customers/{customer_id}/setName
Update a customer configuration
v1.customers.update_config(CustomerUpdateConfigParams**kwargs)
post/v1/customers/{customer_id}/updateConfig
Customer
Customerclass
Customer Detail
CustomerDetailclass
CustomersAlerts
List customer alerts
v1.customers.alerts.list(AlertListParams**kwargs) -> datalistnext_pagestrAlertListResponse
post/v1/customer-alerts/list
Reset an alert for a customer
v1.customers.alerts.reset(AlertResetParams**kwargs)
post/v1/customer-alerts/reset
Get an alert
v1.customers.alerts.retrieve(AlertRetrieveParams**kwargs) -> dataCustomerAlertAlertRetrieveResponse
post/v1/customer-alerts/get
Customer Alert
CustomerAlertclass
CustomersBilling Config
Set a customer billing configuration
v1.customers.billing_config.create(BillingConfigCreateParams**kwargs)
post/v1/customers/{customer_id}/billing-config/{billing_provider_type}
Delete a customer billing configuration
v1.customers.billing_config.delete(BillingConfigDeleteParams**kwargs)
delete/v1/customers/{customer_id}/billing-config/{billing_provider_type}
Get a customer billing configuration
v1.customers.billing_config.retrieve(BillingConfigRetrieveParams**kwargs) -> dataDataBillingConfigRetrieveResponse
get/v1/customers/{customer_id}/billing-config/{billing_provider_type}
CustomersCommits
Create a commit
v1.customers.commits.create(CommitCreateParams**kwargs) -> dataIDCommitCreateResponse
post/v1/contracts/customerCommits/create
List commits
v1.customers.commits.list(CommitListParams**kwargs) -> datalistnext_pagestrCommitListResponse
post/v1/contracts/customerCommits/list
Update the commit end date
v1.customers.commits.update_end_date(CommitUpdateEndDateParams**kwargs) -> dataIDCommitUpdateEndDateResponse
post/v1/contracts/customerCommits/updateEndDate
CustomersCredits
Create a credit
v1.customers.credits.create(CreditCreateParams**kwargs) -> dataIDCreditCreateResponse
post/v1/contracts/customerCredits/create
List credits
v1.customers.credits.list(CreditListParams**kwargs) -> datalistnext_pagestrCreditListResponse
post/v1/contracts/customerCredits/list
Update the credit end date
v1.customers.credits.update_end_date(CreditUpdateEndDateParams**kwargs) -> dataIDCreditUpdateEndDateResponse
post/v1/contracts/customerCredits/updateEndDate
CustomersInvoices
Add a one time charge
v1.customers.invoices.add_charge(InvoiceAddChargeParams**kwargs) -> InvoiceAddChargeResponse
post/v1/customers/{customer_id}/addCharge
List invoices
v1.customers.invoices.list(InvoiceListParams**kwargs) -> SyncCursorPage[idstrcredit_typeCreditTypeDatacustomer_idstrline_itemsliststatusstrtotalfloattypestramendment_idstrbillable_statusliteralcontract_custom_fieldsDict[str, str]contract_idstrcorrection_recordCorrectionRecordcreated_atdatetimecustom_fieldsDict[str, object]customer_custom_fieldsDict[str, str]end_timestampdatetimeexternal_invoiceExternalInvoiceinvoice_adjustmentslistissued_atdatetimenet_payment_terms_daysfloatnetsuite_sales_order_idstrplan_custom_fieldsDict[str, str]plan_idstrplan_namestrreseller_royaltyResellerRoyaltysalesforce_opportunity_idstrstart_timestampdatetimesubtotalfloatInvoice]
get/v1/customers/{customer_id}/invoices
List invoice breakdowns
v1.customers.invoices.list_breakdowns(InvoiceListBreakdownsParams**kwargs) -> SyncCursorPage[breakdown_end_timestampdatetimebreakdown_start_timestampdatetimeInvoiceListBreakdownsResponse]
get/v1/customers/{customer_id}/invoices/breakdowns
Get an invoice
v1.customers.invoices.retrieve(InvoiceRetrieveParams**kwargs) -> dataInvoiceInvoiceRetrieveResponse
get/v1/customers/{customer_id}/invoices/{invoice_id}
Invoice
Invoiceclass
CustomersNamed Schedules
Get a customer's named schedule
v1.customers.named_schedules.retrieve(NamedScheduleRetrieveParams**kwargs) -> datalistNamedScheduleRetrieveResponse
post/v1/customers/getNamedSchedule
Update a customer's named schedule
v1.customers.named_schedules.update(NamedScheduleUpdateParams**kwargs)
post/v1/customers/updateNamedSchedule
CustomersPlans
Add a plan to a customer
v1.customers.plans.add(PlanAddParams**kwargs) -> dataIDPlanAddResponse
post/v1/customers/{customer_id}/plans/add
End a customer plan
v1.customers.plans.end(PlanEndParams**kwargs) -> PlanEndResponse
post/v1/customers/{customer_id}/plans/{customer_plan_id}/end
List customer plans
v1.customers.plans.list(PlanListParams**kwargs) -> SyncCursorPage[idstrcustom_fieldsDict[str, str]plan_descriptionstrplan_idstrplan_namestrstarting_ondatetimeending_beforedatetimenet_payment_terms_daysfloattrial_infoTrialInfoPlanListResponse]
get/v1/customers/{customer_id}/plans
Get the plan adjustments for a customer
v1.customers.plans.list_price_adjustments(PlanListPriceAdjustmentsParams**kwargs) -> SyncCursorPage[charge_idstrcharge_typeliteralpricesliststart_periodfloatquantityfloatPlanListPriceAdjustmentsResponse]
get/v1/customers/{customer_id}/plans/{customer_plan_id}/priceAdjustments