Customers

Customers within Keyline are usually companies, the clients of the printery, for which they produce printed products. Because of this central role, they occupy in Keyline, the API for now only allows to list and fetch customers, and does not provide any means for creating and changing customers.

Attributes of a Customer Object

name string The customer's name, usually a company name
reference string A Keyline-generated 6-character reference for the customer
tax_identifier string The customer's VAT ID
number string Optional customer id, that might be specified by the printery

Actions

Listing Customers

GET
/api/v1/customers

Example Request

$ curl -i -H "Authorization: Bearer a2d16d24dd8adf0e843e6b143b54dbf800ce7ef12d431927ef63f" \
  https://api.keyline-mis.com/api/v1/customers

Fetching a Single Customer

GET
/api/v1/customers/{customer_id}

Example Request

$ curl -i -H "Authorization: Bearer a2d16d24dd8adf0e843e6b143b54dbf800ce7ef12d431927ef63f" \
  https://api.keyline-mis.com/api/v1/customers/1666