Customers
Endpoints related to Customers.
List customers
Get a list of available customers.
path Parameters
tenantIdTenant ID. Can be found in organisation settings
Headers
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
List customers › Responses
Success
idnameCompany name for the customer.
statusMap of timestamp entries for various lifecycle events
typeversionWarehouses for which the customer is used.
Custom and other property values keyed by name.
Custom fields may exist or may be requested by the tenant.
- For Address, Shipment, Container, Consignment Data, Consignment Item, Vehicle, Customer, Driver, Sale Order, Purchase Order, or Transport Product, use the name in Mapped Field from the tenant.
- For Sale Order Product (SOP) custom fields, use
sop_custom_field_1,sop_custom_field_2, and so on. - For other entities such as Purchase Order Product and Product, use
custom_field_1,custom_field_2, and so on.
Create customer
Create a new customer.
path Parameters
tenantIdTenant ID. Can be found in organisation settings
Headers
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
Create customer › Request Body
nameCompany name for the customer.
Required from API version 9. Earlier versions may omit this field; the first active warehouse is then assigned.
statusCreate customer › Responses
Created
idnameCompany name for the customer.
statusMap of timestamp entries for various lifecycle events
typeversionWarehouses for which the customer is used.
Custom and other property values keyed by name.
Custom fields may exist or may be requested by the tenant.
- For Address, Shipment, Container, Consignment Data, Consignment Item, Vehicle, Customer, Driver, Sale Order, Purchase Order, or Transport Product, use the name in Mapped Field from the tenant.
- For Sale Order Product (SOP) custom fields, use
sop_custom_field_1,sop_custom_field_2, and so on. - For other entities such as Purchase Order Product and Product, use
custom_field_1,custom_field_2, and so on.
Search customers
Returns a page of customers that match the condition. Field pointers are JSON pointers on Customer, such as /name.
path Parameters
tenantIdTenant ID. Can be found in organisation settings
query Parameters
pageThe page number to return results for
sizeThe number of elements per page. Default value may vary between endpoints
sortField name and sort order separated by a comma. {dot separated field name},{asc/desc}
nullHandlingHeaders
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
Search customers › Request Body
And and Or conditions must be accompanied with internal conditions property that provides all the fields level conditions that the wrapper must be applied to. Note: The FreeTextSearch condition cannot be combined with other fields level conditions.
Search customers › Responses
Success
idnameCompany name for the customer.
statusMap of timestamp entries for various lifecycle events
typeversionWarehouses for which the customer is used.
Custom and other property values keyed by name.
Custom fields may exist or may be requested by the tenant.
- For Address, Shipment, Container, Consignment Data, Consignment Item, Vehicle, Customer, Driver, Sale Order, Purchase Order, or Transport Product, use the name in Mapped Field from the tenant.
- For Sale Order Product (SOP) custom fields, use
sop_custom_field_1,sop_custom_field_2, and so on. - For other entities such as Purchase Order Product and Product, use
custom_field_1,custom_field_2, and so on.
Get customer
Retrieves a previously created customer.
path Parameters
tenantIdTenant ID. Can be found in organisation settings
customerIdUUID for the customer.
Headers
Accept-VersionAll API end points require Accept-Version in the request header.
Failure to provide the header will return a status code of 400, however, an invalid version can return a 404, 406 or 400.
Get customer › Responses
Success
idnameCompany name for the customer.
statusMap of timestamp entries for various lifecycle events
typeversionWarehouses for which the customer is used.
Custom and other property values keyed by name.
Custom fields may exist or may be requested by the tenant.
- For Address, Shipment, Container, Consignment Data, Consignment Item, Vehicle, Customer, Driver, Sale Order, Purchase Order, or Transport Product, use the name in Mapped Field from the tenant.
- For Sale Order Product (SOP) custom fields, use
sop_custom_field_1,sop_custom_field_2, and so on. - For other entities such as Purchase Order Product and Product, use
custom_field_1,custom_field_2, and so on.