PUT
/orders/{id}
curl \
--request PUT 'http://localhost:3000/api/v1/orders/{id}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"status":"Shipped"}'
Request examples
{
"status": "Shipped"
}
Response examples (200)
{
"id": "string",
"userId": "string",
"status": "New",
"createdAt": "2025-05-04T09:42:00Z",
"stripePaymentIntentId": "string"
}
Response examples (400)
{
"message": "Order not found"
}
Response examples (401)
{
"message": "Order not found"
}
Response examples (404)
{
"message": "Order not found"
}
Response examples (500)
{
"message": "Order not found"
}