devices
Add a new mobile device to the store
post/mobile-devices
Request
- Base URLhttps://localhost/mobile-store
- URLhttps://localhost/mobile-store/mobile-devices
- AuthOAuth 2Implicit: https://test.comScopes: write:devices
Request body
Example request
{
"id": 1,
"category": {
"id": 10,
"name": "phone"
},
"name": "IPhone 11",
"manufacturer": "Apple Inc.",
"model": "QQ123Q",
"price": "$2000",
"tags": [
{
"id": 1,
"name": "dual-camera"
}
],
"status": "available"
}Response
Sucessfully created the device
Example response
{
"id": 1,
"category": {
"id": 10,
"name": "phone"
},
"name": "IPhone 11",
"manufacturer": "Apple Inc.",
"model": "QQ123Q",
"price": "$2000",
"tags": [
{
"id": 1,
"name": "dual-camera"
}
],
"status": "available"
}Changes
No recorded changes to this operation across all 1 revision of this API.