Create single inventory product
DevelopingPOST
/api/v1/public/products/inventory/createLast modified: 4 months ago
Request
Body Params application/json
sku
string
required
name
string
required
weight
integer
required
package_length
integer
required
package_width
integer
required
package_height
integer
required
product_brand
null
required
product_category
integer
required
cost
integer
required
sale_price
integer
required
is_serial_number
integer
required
is_batch_control
integer
required
is_bubble_wrap
integer
required
is_kraft_paper
integer
required
is_fragile
integer
required
min_shelf_life_inbound
integer
required
min_shelf_life_outbound
integer
required
material
string
required
product_type
string
required
storage_method
string
required
outbound_strategy
string
required
unit
integer
required
info
object
required
description
string
required
images
array [object {1}]
required
image_url
string
optional
documents
array[string]
required
barcode_list
array [object {1}]
required
barcode
string
optional
config
object
required
create_inventory_stock
boolean
required
Example
{
"sku": "BTH",
"name": null,
"weight": null,
"package_length": null,
"package_width": null,
"package_height": null,
"product_brand": null,
"product_category": null,
"cost": null,
"sale_price": null,
"is_serial_number": null,
"is_batch_control": null,
"is_bubble_wrap": null,
"is_kraft_paper": null,
"is_fragile": null,
"min_shelf_life_inbound": null,
"min_shelf_life_outbound": null,
"material": null,
"product_type": null,
"storage_method": null,
"outbound_strategy": null,
"unit": null,
"info": {
"description": null
},
"images": [
{
"image_url": null
}
],
"documents": [],
"barcode_list": [
{
"barcode": null
}
],
"config": {
"create_inventory_stock": null
}
}
Request samples
Responses
Success(200)
Bad Request(400)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 4 months ago