- Print
- DarkLight
Retrieve list of customers, using a cursor based pagniation scheme.
The purpose of this endpoint, is to allow Bento Box to search over the Customer dataset for features such as the Admin UI Customer page. Depending on capabilities defined, within the integration configuration, Bento Box capabilities will automatically change. For example, if the generic search
capability is not provided, the Admin UI will search just over email address.
ID of customer to search over, including partial ids
Email address to search over, including partial email addresses
Generic search field that allow for searching over whichever Customer fields that the Merchant would like to be available within the Admin UI
This is an optional field to implement, with it being available to the Customer Gateway, being defined as part of the integration setup. If this capability is not provided, Admin UI search feature will operate over the email
field.
Cursor to start the results from
Number of items to return up to in the response
Pagniated list of customers
An object that encapsulates the return of multiple Customer objects in a pagniated result
Block that allows for the arbitary passing of metadata alongside an entity
Can be any value - string, number, boolean, array or object
Provide information to help with pagniating through a set of results
Defines whether more results are available from the endpoint
The number of items within the result
The cursor used to access the current set of results
The cursor needed to access the next set of results
Invalid request
Response body, based upon RFC-9457 specification, for 400 error codes
Array contain the reason(s) for why the request being invalid
Short human readable explaination for the violation
JSON string containing a human-readable explanation specific to this occurrence of the problem.
Consumers should not parse this property to extract information, but instead should rely on extension properties.
Invalid authentication token
Response body, based upon RFC-9457 specification, for 401 error codes
Invalid authorization permissions
Response body, based upon RFC-9457 specification, for 403 error codes
Internal server error
Error response body, as defined in RFC-9457. Please refer to the specification for more detail on each of the properties.
Other properties can be provided, Extensions, to provide more detailed information for consumers, such as balance in a credit based error.
URI reference that identifies the problem type, which consumer must use as the problem type's primrary identifier.
Relative URI's can be used; however, fully qualified URI's are preferred to avoid confusion, as implementations may not handle relative URIs correctly.
HTTP status code generated by the origin server.
This value, if provided, should match the HTTP status code sent by the server. But this disagree on the consumer, due to intermediaries such as proxies and caches.
Short, human-readable summary of the problem type
JSON string containing a human-readable explanation specific to this occurrence of the problem.
Consumers should not parse this property to extract information, but instead should rely on extension properties.
JSON string containing a URI reference that identifies the specific occurrence of the problem.