Intelligent search powered by OpenAI
Accept order
PUT
Products that use it:
Request's parameters
PATH
shipment_id
Unique ID that identifies the shipment of the order to be performed by the operation to accept an orderstring
REQUIRED
BODY
status
This property indicates the order status, which must have the value "accepted" for this endpointstring
Response parameters
status
Status of the order after its acceptance. The Status value that will be returned is "accepted"string
Errors
400Error
400
Conflict-error - This order cannot be accepted due to its current status.
401Error
401
Unauthorized - Access Token is invalid
403Error
403
Forbidden - User cannot access this resource
424Error
424
Not Found - Failed to get some information of the order
500Error
500
Internal server error
Request
curl -X PUT \
'https://api.mercadopago.com/proximity-integration/shipments/{shipment_id}/accept'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
-d '{
"status": "accepted"
}'
Sample answer
{
"status": "accepted"
}