Create Product
POST/products/
Use this endpoint to create a single product. If a product is successfully created, the response will include the productid
.
Fields
Name | Required |
---|---|
names | no |
language | yes |
parent | no |
sku | no (recommended) |
unit | no Default is 1 |
status | no Default is A |
price | no Default is 0.00 |
costPrice | no Default is 0.00 |
suggestedPrice | no Default is 0.00 |
priceDisplay | no Default is default |
descriptions | no |
shortName | no |
shortDescriptions | no |
taxCode | no Default is H |
supplier | no (recommended) |
supplierCode | no (recommended) |
manufacturer | no |
oemCode | no |
eanCode | no |
minimumQuantity | no Default is 1 |
package | no |
packageDescriptions | no |
notes | no |
sourceId | no |
source | only when sourceId is provided |
Request
Responses
- 201
- 400
Create Product - 200
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
return-format
server
x-request-id
Create Product - 400 (existing sourceId)
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
return-format
server
x-request-id