Skip to main content

Add order ıtem

POST 

/api/orders/:id/items

Add order ıtem

Request

Path Parameters

    id integerrequired

Header Parameters

    X-Company-Slug stringrequired

Body

    product_id numberrequired
    price number
    quantity number

Responses

Successful response

Schema

    id number
    product_id number
    order_id number
    price number
    quantity numbernullable
    total number
    product_name string
Loading...