Create Order Note
POST
/admin/order-notes
const url = 'http://localhost:9000/admin/order-notes';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"order_id":"example","note":"example","sent":false,"metadata":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/order-notes \ --header 'Content-Type: application/json' \ --data '{ "order_id": "example", "note": "example", "sent": false, "metadata": {} }'Request Body required
Section titled “Request Body required ” Media type application/json
object
order_id
required
string
note
required
string
sent
required
boolean
metadata
object
key
additional properties
any
Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}