POST api/Products/PostProduct
Request Information
URI Parameters
None.
Body Parameters
ProductName | Description | Type | Additional information |
---|---|---|---|
Barcode | string |
String length: inclusive between 0 and 18 |
|
CatalogueProviderProductCode | string |
None. |
|
Chilled | boolean |
None. |
|
DateAdded | date |
None. |
|
DateAvailable | date |
None. |
|
DateDeleted | date |
None. |
|
DateModified | date |
None. |
|
Description | string |
Required Data type: MultilineText |
|
Ethical | boolean |
None. |
|
FairTrade | boolean |
None. |
|
MPN | string |
String length: inclusive between 0 and 64 |
|
Name | string |
Required String length: inclusive between 0 and 128 |
|
Organic | boolean |
None. |
|
OuterBarcode | string |
String length: inclusive between 0 and 32 |
|
ProductId | globally unique identifier |
None. |
|
SKUCostPrice | decimal number |
Data type: Currency |
|
SKUSellingPrice | decimal number |
Data type: Currency |
|
Status | eProductStatus |
None. |
|
SupplierProductCode | string |
Required String length: inclusive between 0 and 64 |
|
UnitCostPrice | decimal number |
Data type: Currency |
|
UnitSellingPrice | decimal number |
Data type: Currency |
|
Categories | Collection of Category |
None. |
|
Tax | Tax |
None. |
|
Brand | Brand |
None. |
|
SKU | SKU |
None. |
|
Catalogue | Catalogue |
None. |
|
Supplier | Supplier |
None. |
|
Parent | Product |
None. |
|
Children | Collection of Product |
None. |
|
PriceChanges | Collection of ProductPriceChange |
None. |
|
Temperature | Temperature |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ProductName | Description | Type | Additional information |
---|---|---|---|
Barcode | string |
String length: inclusive between 0 and 18 |
|
CatalogueProviderProductCode | string |
None. |
|
Chilled | boolean |
None. |
|
DateAdded | date |
None. |
|
DateAvailable | date |
None. |
|
DateDeleted | date |
None. |
|
DateModified | date |
None. |
|
Description | string |
Required Data type: MultilineText |
|
Ethical | boolean |
None. |
|
FairTrade | boolean |
None. |
|
MPN | string |
String length: inclusive between 0 and 64 |
|
Name | string |
Required String length: inclusive between 0 and 128 |
|
Organic | boolean |
None. |
|
OuterBarcode | string |
String length: inclusive between 0 and 32 |
|
ProductId | globally unique identifier |
None. |
|
SKUCostPrice | decimal number |
Data type: Currency |
|
SKUSellingPrice | decimal number |
Data type: Currency |
|
Status | eProductStatus |
None. |
|
SupplierProductCode | string |
Required String length: inclusive between 0 and 64 |
|
UnitCostPrice | decimal number |
Data type: Currency |
|
UnitSellingPrice | decimal number |
Data type: Currency |
|
Categories | Collection of Category |
None. |
|
Tax | Tax |
None. |
|
Brand | Brand |
None. |
|
SKU | SKU |
None. |
|
Catalogue | Catalogue |
None. |
|
Supplier | Supplier |
None. |
|
Parent | Product |
None. |
|
Children | Collection of Product |
None. |
|
PriceChanges | Collection of ProductPriceChange |
None. |
|
Temperature | Temperature |
None. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.