# OR21 - Accept or refuse order lines

Description

Accept or refuse order lines in the WAITING_ACCEPTANCE status


Call Frequency

Recommended usage: At each new order on the Marketplace
Maximum usage: At each new order on the Marketplace
Read More

More context

Endpoint: PUT /api/orders/{order_id}/accept

## Path parameters:

  - `order_id` (string, required)
    Order's identifier

## Query parameters:

  - `shop_id` (integer)
    Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

## Request fields (application/json):

  - `order_lines` (array, required)
    List of representations of order line for acceptance

  - `order_lines.accepted` (boolean, required)
    Boolean indicating if the order line is accepted or refused

  - `order_lines.id` (string, required)
    Order line's identifier


## Response 204 fields
