Customers
Customers
Customers
Archive a customer
v1.customers.archive(**kwargs) -> dataIDCustomerArchiveResponse
post/v1/customers/archive
Create a customer
v1.customers.create(**kwargs) -> dataCustomerCustomerCreateResponse
post/v1/customers
List customers
v1.customers.list(**kwargs) -> CursorPage<idStringcreated_atTimecustom_fieldshashcustomer_configobjectexternal_idStringingest_aliasesarraynameStringarchived_atTimecurrent_billable_statusobjectCustomerDetail>
get/v1/customers
Get billable metrics for a customer
v1.customers.list_billable_metrics(**kwargs) -> CursorPage<idStringnameStringaggregateStringaggregate_keysarrayaggregation_keyStringaggregation_typeunionarchived_atTimecustom_fieldshashevent_type_filterEventTypeFilterfilterhashgroup_byarraygroup_keysarrayproperty_filtersarraysqlStringCustomerListBillableMetricsResponse>
get/v1/customers/{customer_id}/billable-metrics
Get customer costs
v1.customers.list_costs(**kwargs) -> CursorPage<credit_typeshashend_timestampTimestart_timestampTimeCustomerListCostsResponse>
get/v1/customers/{customer_id}/costs
Preview events
v1.customers.preview_events(**kwargs) -> dataInvoiceCustomerPreviewEventsResponse
post/v1/customers/{customer_id}/previewEvents
Get a customer
v1.customers.retrieve(**kwargs) -> dataCustomerDetailCustomerRetrieveResponse
get/v1/customers/{customer_id}
Create or update customer ingest aliases
v1.customers.set_ingest_aliases(**kwargs) -> void
post/v1/customers/{customer_id}/setIngestAliases
Update a customer name
v1.customers.set_name(**kwargs) -> dataCustomerCustomerSetNameResponse
post/v1/customers/{customer_id}/setName
Update a customer configuration
v1.customers.update_config(**kwargs) -> void
post/v1/customers/{customer_id}/updateConfig
Customer
Customerclass
Customer Detail
CustomerDetailclass
CustomersAlerts
List customer alerts
v1.customers.alerts.list(**kwargs) -> dataarraynext_pageStringAlertListResponse
post/v1/customer-alerts/list
Reset an alert for a customer
v1.customers.alerts.reset(**kwargs) -> void
post/v1/customer-alerts/reset
Get an alert
v1.customers.alerts.retrieve(**kwargs) -> dataCustomerAlertAlertRetrieveResponse
post/v1/customer-alerts/get
Customer Alert
CustomerAlertclass
CustomersBilling Config
Set a customer billing configuration
v1.customers.billing_config.create(**kwargs) -> void
post/v1/customers/{customer_id}/billing-config/{billing_provider_type}
Delete a customer billing configuration
v1.customers.billing_config.delete(**kwargs) -> void
delete/v1/customers/{customer_id}/billing-config/{billing_provider_type}
Get a customer billing configuration
v1.customers.billing_config.retrieve(**kwargs) -> dataobjectBillingConfigRetrieveResponse
get/v1/customers/{customer_id}/billing-config/{billing_provider_type}
CustomersCommits
Create a commit
v1.customers.commits.create(**kwargs) -> dataIDCommitCreateResponse
post/v1/contracts/customerCommits/create
List commits
v1.customers.commits.list(**kwargs) -> dataarraynext_pageStringCommitListResponse
post/v1/contracts/customerCommits/list
Update the commit end date
v1.customers.commits.update_end_date(**kwargs) -> dataIDCommitUpdateEndDateResponse
post/v1/contracts/customerCommits/updateEndDate
CustomersCredits
Create a credit
v1.customers.credits.create(**kwargs) -> dataIDCreditCreateResponse
post/v1/contracts/customerCredits/create
List credits
v1.customers.credits.list(**kwargs) -> dataarraynext_pageStringCreditListResponse
post/v1/contracts/customerCredits/list
Update the credit end date
v1.customers.credits.update_end_date(**kwargs) -> dataIDCreditUpdateEndDateResponse
post/v1/contracts/customerCredits/updateEndDate
CustomersInvoices
Add a one time charge
v1.customers.invoices.add_charge(**kwargs) -> InvoiceAddChargeResponse
post/v1/customers/{customer_id}/addCharge
List invoices
v1.customers.invoices.list(**kwargs) -> CursorPage<idStringcredit_typeCreditTypeDatacustomer_idStringline_itemsarraystatusStringtotalFloattypeStringamendment_idStringbillable_statusunioncontract_custom_fieldshashcontract_idStringcorrection_recordobjectcreated_atTimecustom_fieldshashcustomer_custom_fieldshashend_timestampTimeexternal_invoiceobjectinvoice_adjustmentsarrayissued_atTimenet_payment_terms_daysFloatnetsuite_sales_order_idStringplan_custom_fieldshashplan_idStringplan_nameStringreseller_royaltyobjectsalesforce_opportunity_idStringstart_timestampTimesubtotalFloatInvoice>
get/v1/customers/{customer_id}/invoices
List invoice breakdowns
v1.customers.invoices.list_breakdowns(**kwargs) -> CursorPage<breakdown_end_timestampTimebreakdown_start_timestampTimeInvoiceListBreakdownsResponse>
get/v1/customers/{customer_id}/invoices/breakdowns
Get an invoice
v1.customers.invoices.retrieve(**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(**kwargs) -> dataarrayNamedScheduleRetrieveResponse
post/v1/customers/getNamedSchedule
Update a customer's named schedule
v1.customers.named_schedules.update(**kwargs) -> void
post/v1/customers/updateNamedSchedule
CustomersPlans
Add a plan to a customer
v1.customers.plans.add(**kwargs) -> dataIDPlanAddResponse
post/v1/customers/{customer_id}/plans/add
End a customer plan
v1.customers.plans.end_(**kwargs) -> PlanEndResponse
post/v1/customers/{customer_id}/plans/{customer_plan_id}/end
List customer plans
v1.customers.plans.list(**kwargs) -> CursorPage<idStringcustom_fieldshashplan_descriptionStringplan_idStringplan_nameStringstarting_onTimeending_beforeTimenet_payment_terms_daysFloattrial_infoobjectPlanListResponse>
get/v1/customers/{customer_id}/plans
Get the plan adjustments for a customer
v1.customers.plans.list_price_adjustments(**kwargs) -> CursorPage<charge_idStringcharge_typeunionpricesarraystart_periodFloatquantityFloatPlanListPriceAdjustmentsResponse>
get/v1/customers/{customer_id}/plans/{customer_plan_id}/priceAdjustments