Order Info
Endpoints to manage information for orders.
'/orders/order-completed'
POST
async create(
@requestBody({
content: {
'application/json': {
schema: {
type: 'object',
}
},
},
})
orderInfo: object,
): Promise<void>Shopify webhook endpoint for Shopify to notify our backend that an order was completed.
'/orders/{id}'
GET
async findById(
@param.path.number('id') id: number,
@param.filter(OrderInfo, {exclude: 'where'})
filter?: FilterExcludingWhere<OrderInfo>,
): Promise<OrderInfo>Auth: Yes RBAC: Admin
Gets a specific order by ID.
'/orders'
GET
async find(
@param.filter(OrderInfo) filter?: Filter<OrderInfo>,
): Promise<OrderInfo[]>Auth: Yes RBAC: Admin
Gets all orders.
Last updated