Configure Serial Numbers

Configure Serial Numbers

All existing Serial Numbers will be replaced with the newly provided Serial Numbers.

Request
URI
POST
https://{api_host}/api/v0/settings/serial_numbers
COPY
Request Body
SerialNumbers of type(s) application/json
Optional

Show optional properties

{
    "serial_numbers": [
        {
            "serial_number": "string"
        }
    ]
}
{
    "serial_numbers": [
        {
            "serial_number": "string",
            "description": "string"
        }
    ]
}
array of serial_numbers
serial_numbers
Required

A list of serial numbers

Responses
200

OK

Operation doesn't return any data structure

422

Unprocessible Entity

{
    "errors": {
        "serial_number": [
            "string"
        ]
    }
}
errors
Optional

errors


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"serial_numbers:"array"}' https://{api_host}/api/v0/settings/serial_numbers