Order Product
'/order-products'
POST
async create(
@requestBody({
content: {
'application/json': {
schema: getModelSchemaRef(OrderProduct, {
title: 'NewOrderProduct',
exclude: ['id'],
}),
},
},
})
orderProduct: Omit<OrderProduct, 'id'>,
): Promise<OrderProduct>GET
PATCH
'/order-products/count'
GET
'/order-products/{id}'
GET
PATCH
PUT
DEL
Last updated