# Accept order This endpoint is used to accept an order, and change its status. **PUT** `/proximity-integration/shipments/{shipment_id}/accept` ## Request parameters ### Path - `shipment_id` (string, required) Unique ID that identifies the shipment of the order to be performed by the operation to accept an order - `status` (string, optional) This property indicates the order status, which must have the value "accepted" for this endpoint ## Response parameters - `status` (string, optional) Status of the order after its acceptance. The Status value that will be returned is "accepted" ## Errors | Status | Error | Description | | ------- | ------- | ----------- | | 400 | 400 | Conflict-error - This order cannot be accepted due to its current status. | | 401 | 401 | Unauthorized - Access Token is invalid | | 403 | 403 | Forbidden - User cannot access this resource | | 424 | 424 | Not Found - Failed to get some information of the order | | 500 | 500 | Internal server error | ## Request example ### cURL ```bash curl -X PUT \ 'https://api.mercadopago.com/proximity-integration/shipments/{shipment_id}/accept' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ' \ -d '{ "status": "accepted" }' ``` ## Response example ```json { "status": "accepted" } ```