Order Info Order Product
'/orders/{id}/order-products'
GET
async find(
@param.path.number('id') id: number,
): Promise<OrderProduct[]>POST
async create(
@param.path.number('id') id: typeof OrderInfo.prototype.id,
@requestBody({
content: {
'application/json': {
schema: {
type: 'object',
}
},
},
})
product: Product & CheckoutLineItemInput,
): Promise<OrderProduct>'/orders/{id}/order-products/{orderProductId}'
PATCH
DEL
Last updated