There was an error while loading. Please reload this page.
For resource definition check out Resources page.
By default this lists all the customers.
GET /customers
Available filtering parameters: email, name, company, active, country, sales_tax_name, sales_tax_number.
email
name
company
active
country
sales_tax_name
sales_tax_number
GET /customers?active=True
GET /customers/:id
POST /customers { 'customer_reference': '5', 'name': 'John Doe', 'company': 'ACME Inc.', 'email': 'johndoe@acme.inc', 'address_1': 'Funny Road no.4', 'address_2': null, 'country': 'US', 'city': 'Wilmington', 'state': 'Delaware', 'zip_code': 9000, 'extra': 'Tax exempt due to XXX', 'sales_tax_percent': 24, 'sales_tax_name': 'VAT', 'sales_tax_number': '' 'consolidated_billing': true }
All the customer's fields are editable. Use PATCH for partial update and PUT for full update.
PATCH
PUT
PATCH /customers/:id PUT /customers/:id
Customer deletion is actually a soft delete. Deleting a customer automatically cancels that customer's subscriptions.
DELETE /customers/:id