Store Product
Store Product
application/json
Request Body required
The body to store Product
name string required
Possible values: <= 255 characters
product_type_id string required
sku string
Possible values: <= 255 characters
description string
Possible values: <= 255 characters
uom string required
Possible values: <= 255 characters
weight number
Possible values: <= 1000000
volume number
Possible values: <= 1000000
price number
Possible values: <= 1000000000000
Responses
- 200
- 400
- 401
OK
application/json
Schema
Example (from schema)
Schema
data object
id string
{
"data": {
"id": "string"
}
}
Bad Request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
errors
errors_v2 object
formatted object
issues object[]
code string
expected
message string
path string[]
received
message string
{
"errors": {},
"errors_v2": {
"formatted": {},
"issues": [
{
"code": "string",
"expected": {},
"message": "string",
"path": [
"string"
],
"received": {}
}
]
},
"message": "string"
}
Unauthorized
Loading...