Using Customer Numbers

Using Customer Numbers

By default, the CertCapture API uses our internal ID's for Customer identifiers.

/v2/customers/1

Where 1 will be our internal ID of Customer 1.

If you wish you use the customer_number, simply provide the additional header:

x-customer-primary-key: customer_number

NOTE: if you wish to search for vendors NOT customers, simply provide this header:

x-customer-primary-key: vendor_number

Then you can access the customer end points like so:

/v2/customers/123abc

NOTE: Since we support all utf8 characters in the customer_number, the customer_number MUST be sent url encoded. For example:

/v2/customers/123/abc

Will cause a 'Customer Not Found' error.

/v2/customers/123%2Fabc

Will find the Customer with customer_number = 123/abc