Update Serial Number
POST
/admin/serial-numbers/{id}
const url = 'http://localhost:9000/admin/serial-numbers/example';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"order_id":"example","stock_lot_id":"example","value":"example","invalidated":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/serial-numbers/example \ --header 'Content-Type: application/json' \ --data '{ "order_id": "example", "stock_lot_id": "example", "value": "example", "invalidated": false, "metadata": {} }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
order_id
string
stock_lot_id
string
value
string
invalidated
required
boolean
metadata
object
key
additional properties
any
Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}