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 |
keywords | no |
customKeywords | no |
statusExtra | no |
orderable | no |
orderableFrom | no |
orderableTo | no |
releaseDate | no |
returnable | no |
physical | no |
barCode | no |
width | no |
height | no |
depth | no |
weight | no |
packageUnit | no |
packageUnitQuantity | no |
purchaseMinimumQuantity | no |
purchaseUnit | no |
economicOrderQuantity | no |
metadataTitles | no |
metadataDescriptions | no |
metadataKeywords | no |
metadataCanonicalUrls | no |
priority | no |
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