API for creating a single order
Input containing parameters for creating order.
Optional
options?: { Options to modify the returned order response.
Optional
expand?: stringOrder data to be created.
Organization ID of the organization to which the order belongs.
Optional
requestContext: RequestContextOrder data that was created.
This API is used to create a single order in the Order service.
API for getting an order
Input containing parameters for fetching an order.
Optional
expand?: stringOptions to expand fields in the returned order response.
Order ID of the order to be fetched.
Organization ID of the order to be fetched.
Optional
requestContext: RequestContextThe order.
This API is used to get an order from the Order service.
API for getting orders for a user
Input containing parameters for fetching orders.
Optional
options?: { Options to modify the returned order response.
Optional
queryUser ID of the user whose orders are to be fetched.
Optional
requestContext: RequestContextPaginated list of orders for the user.
This API is used to get orders for a user from the Order service.
API for updating a single order
Input containing parameters for updating order.
Order data to be updated.
ID of the order to be updated.
Organization ID of the organization to which the order belongs.
Optional
requestContext: RequestContextOrder data that was updated.
This API is used to update a single order in the Order service.
Generated using TypeDoc
Interface for Order's Default Adapter's API
Description
This interface is used to define the API for Order's Default Adapter. Implement this interface to create a custom API for communicating with Order functionality.