Hey, human!
This is what your agent sees atdocs.example.com/endpoint/updateorder
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Update an order
Updates an existing order by its numeric ID. Merges the request body into the existing order record.
What you provide
- User idoptional: ID of the user placing the order
- Pet idoptional: ID of the pet being ordered
Do this with AI
I want to update an order. Use the Test API. Read the reference for this operation and follow it exactly: https://docs.eggubator.co/endpoint/updateorder.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.
Paste this into Claude, Cursor, or any AI assistant and it will do it for you.
https://google.com/orders/{id}curl --request PUT \
--url https://google.com/orders/1 \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"userId": 1,
"petId": 2
}
'Path parameters
idintegerrequiredNumeric ID of the resource
Body
application/jsonrequireduserIdintegerID of the user placing the order
petIdintegerID of the pet being ordered