POST products

Create new Product.

Request Information

URI Parameters

None.

Body Parameters

Product object to create

ProductCreateWithChildrenModel
NameDescriptionTypeAdditional information
Children The child products associated to the parent. Collection of ProductChildUpdateCreateModel None.
SKU The Sku of the Product. string None.
Name The name that was given to the product. string None.
ParentProduct The Parent product of the product. ProductIDTypeModel None.
Suppliers The suppliers specified for the product. Collection of ProductSupplierUpdateModelBase None.
GlobalTradeIdentifiers This container contains items like EAN, UPC and additional barcodes ProductGlobalTradeIdentifiers None.
WarehouseInformation This contains warehouse information like Pickbin, WarehouseZone etc. ProductWarehouseInformationUpdateCreateModel None.
PricingInformation Product pricing info for instance: Price, RRP, Includes VAT. TaxClass ProductPricingInfoUpdateModel None.
InventoryInformation A container to hold all of the inventory information for the product. ProductInventoryInfoCreateModel None.
Categories The categories that the product is a part of. Collection of CategoryBaseModel None.
Brand The brand of the product string None.
Description The products Description string None.
ProductImages Collection of ProductImageCreateModel None.
ManufacturerPartNumber The products Manufacturer Part number. string None.
CustomAttributes The custom Attributes for the product. Collection of ProductCustomAttributeModel None.
ProductAdditions Collection of ProductAdditionsCreateUpdateModel None.

Request Formats

application/json, text/json

Sample:
{
  "Children": [
    {
      "ProductIDType": {
        "IDType": "SKU",
        "Value": "TSR-324-Blue-Large"
      },
      "VariantAttributes": [
        {
          "Name": "Colour",
          "Value": "Blue"
        },
        {
          "Name": "Size",
          "Value": "Large"
        }
      ]
    },
    {
      "Product": {
        "SKU": "TSR-324-RED-Small",
        "Name": "Tshirt",
        "Suppliers": [
          {
            "Supplier": {
              "SupplierID": 1
            },
            "SupplierSKU": "TSHIR-5431",
            "SupplierCosts": 4.99,
            "SupplierStockLevel": 10,
            "SupplierLeadTime": 1,
            "SupplierCartonQuantities": 1,
            "Priority": 0
          }
        ],
        "GlobalTradeIdentifiers": {
          "EAN": "9780471117094",
          "UPC": "042100005264",
          "AdditionalBarcodes": [
            "Additional Barcode 1",
            "Additional Barcode 2"
          ]
        },
        "WarehouseInformation": {
          "Warehouse": {
            "IDType": "Name",
            "Value": "Default Warehouse"
          },
          "StockLocations": [
            {
              "IDType": "StockLocationReference",
              "Value": "pb1"
            }
          ],
          "CartonQuantity": 1,
          "LeadTime": 1,
          "ContainsHazardousMaterials": false,
          "IsFragile": false,
          "UnitOfMeasure": "KG",
          "Weight": 0.1,
          "Packaging": {
            "PackagingID": 5
          },
          "PackagingQuantity": 10,
          "ProductTypeDescription": "Tshirt",
          "DetailedProductTypeDescription": "TShirt made of 100% cotton",
          "ProductComposition": "Cotton",
          "ProductHarmonizedCode": "n/a"
        },
        "PricingInformation": {
          "TaxClass": {
            "TaxClassID": 2
          },
          "Price": 10.99,
          "RRP": 8.99,
          "Margin": 1.0,
          "PriceIncludesVat": true
        },
        "InventoryInformation": {
          "Inventory": 10
        },
        "Categories": [
          {
            "CategoryID": 1,
            "CategoryName": "T-Shirts"
          },
          {
            "CategoryID": 1,
            "CategoryName": "Trousers"
          }
        ],
        "Brand": "Brand1",
        "Description": "This is a description for the T-Shirt.",
        "ProductImages": [
          {
            "Image": {
              "SourceType": "Base64",
              "SourceValue": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAhCAMAAABqZpwPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIge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0ddicoXy4rb6+u/ksCNVaH5vgZP9/viPnazqv1L9+vSNm6Xs1IvluT7//P7158D38tSHlqPq0ob69eVYbH/t0YDoxF3++uv27sv48dpBV2zx8/Pe5Of3+Pf77s7u1oznwVTu14b9/ftKXnRqepLu0o9ldonr7vDm0H7y5r319vZQZXvu2I18i5f05bFCVW/eqRDpzoDu1ZBRZHXp1JDv04ntzYJ+jZs1Tmfuz3zz5rX+/fv7/PXxzn3047bu1ZXpvEj9/f36+/zy8fT2683Fz9Tqz4bnym7jpgz+//79/////v/+/v/+/v7///3+/v3+//3//v7//vz//v38///+/vz9//79/v/+//z///z8//79/v3kpg3+/fjqynj8/v7t15rlpArvz3f4/Or6/O388tH8/fnoqBmAkaC9ydE7V27+/vftz4V0gY7nzHjotDr48c92iJh5h5bBys/mxm3mymXtyGnz47Lm0YTz4rDrwU/euUVugI5neYz2+ebpx3D8+/Tqy3HqzHfvy3Gaq7jo0XLorzHw2ZTquELp0YLq1ITouz3t04br1ImzusCksbbnsSjH0NT268jg4+czUWc3UW05UGjo5+jjv1Dlv1rsvlvv47LsyoFHY3n69N/oyXSutsHiowo3T2f++vj///7+//////+5tIDWAAAFkUlEQVR42tyW+VsTVxSGs0GAsAhIICYsYREQEAlQXEAQBUREQVxwYdECIqu7VaighYqoKOIKbsyWhJAQIKLSTattba21tbUV7Gpt1WKhq9pl7ukdrPYPaPqDnWdmnntn5r4zc+/5vnN48B9tvKcPjFgWAQvAnQkYPswD7tDlmpZr5c3NJv1yw/5UkJgL3E3v08R0m/Y1h62SoOgTG7oNZgKbujuRkTI266MW1EeyA9cVtJnAcvaX+aCSWFgAmtSvQF87IzOBVWTJtDnI5kb9pFxks4uZ7WLGcHtw/WpY5KrihBJiQdQcVzOCybBTrn0kbL0cPfBt9A4zgjVgMePEth60YmRhg42bBW02sNGRQtbfnDqoiPr1uSuHesylPAS6P1MVFLw9o951a0ItII/EuAdA+fhQLEFRBAF0Z1tHp1pNsBShJdjY0Orq0NDqCsBKZbFi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Fuy8j99Zj0eA/aKxVQ4sTBCMLXWaAtVF2TUCdwD3kBThHa1DaTyoH2dp9KyiQt8FwGghN9VHjpopQHoS9r8GpAbpK3pUgF5xBFZH4UfwjkCN+fJ9AOsdOReDUVgYKh3uEiDHmHb2MZjWkwYVJ3kwYffoUEnkXRpVt6rLcFpzgVKNk5g0JmA1RlrfzXBOwOV1OK0nO1hQqxFjMHSpCZ3WyOnMaELYWJ7UFZTBpOnq5FqMRqtmGDw/VBsgWkMz3XRnJ8vVBZyCkbb9sa0OexD3s/jz2xgStREEriVAqwVEkk/AyETRpnZ8gyXa29r/pWVic2KfwhLr/wJmWQYvMc4RQCKKJBAJwwmHYSmWQRSBUxCLQ+qfApImEQ4hnEuov/UGfwkwAE3t4ITDYwRSAAAAAElFTkSuQmCC"
            }
          },
          {
            "Image": {
              "SourceType": "URL",
              "SourceValue": "http://storefeeder.com/Cms_Data/Sites/StoreFeeder_V3/Themes/StoreFeeder_V3/images/logo-light.png"
            }
          }
        ],
        "ManufacturerPartNumber": "mpn-Tshirt-1",
        "CustomAttributes": [
          {
            "CustomAttribute": {
              "CustomAttributeID": 12,
              "CustomAttributeName": "Batteries Included"
            },
            "Value": "Yes"
          },
          {
            "CustomAttribute": {
              "CustomAttributeID": 12,
              "CustomAttributeName": "Warranty"
            },
            "Value": "1-2 Years"
          }
        ]
      },
      "VariantAttributes": [
        {
          "Name": "Colour",
          "Value": "Red"
        },
        {
          "Name": "Size",
          "Value": "Small"
        }
      ]
    }
  ],
  "SKU": "TSR-324",
  "Name": "Tshirt",
  "Suppliers": [
    {
      "Supplier": {
        "SupplierID": 1
      },
      "SupplierSKU": "TSR-324",
      "SupplierCosts": 4.99,
      "SupplierStockLevel": 10,
      "SupplierLeadTime": 1,
      "SupplierCartonQuantities": 1,
      "Priority": 0
    }
  ],
  "GlobalTradeIdentifiers": {
    "EAN": "9780471117094",
    "UPC": "042100005264",
    "AdditionalBarcodes": [
      "Additional Barcode 1",
      "Additional Barcode 2"
    ]
  },
  "WarehouseInformation": {
    "Warehouse": {
      "IDType": "Name",
      "Value": "Default Warehouse"
    },
    "StockLocations": [
      {
        "IDType": "StockLocationReference",
        "Value": "pb1"
      }
    ],
    "CartonQuantity": 1,
    "LeadTime": 1,
    "ContainsHazardousMaterials": false,
    "IsFragile": false,
    "UnitOfMeasure": "KG",
    "Weight": 0.1,
    "Packaging": {
      "PackagingID": 5
    },
    "PackagingQuantity": 10,
    "ProductTypeDescription": "Tshirt",
    "DetailedProductTypeDescription": "TShirt made of 100% cotton",
    "ProductComposition": "Cotton",
    "ProductHarmonizedCode": "n/a"
  },
  "PricingInformation": {
    "TaxClass": {
      "TaxClassID": 2
    },
    "Price": 10.99,
    "RRP": 8.99,
    "Margin": 1.0,
    "PriceIncludesVat": true
  },
  "InventoryInformation": {
    "Inventory": 10
  },
  "Categories": [
    {
      "CategoryID": 1,
      "CategoryName": "T-Shirts"
    },
    {
      "CategoryID": 1,
      "CategoryName": "Trousers"
    }
  ],
  "Brand": "Brand1",
  "Description": "This is a description for the T-Shirt.",
  "ProductImages": [
    {
      "Image": {
        "SourceType": "Base64",
        "SourceValue": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAAAhCAMAAABqZpwPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZ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1tvu8vP15bzktTr59+nm6+zy4aXqynTiqAzK0ddicoXy4rb6+u/ksCNVaH5vgZP9/viPnazqv1L9+vSNm6Xs1IvluT7//P7158D38tSHlqPq0ob69eVYbH/t0YDoxF3++uv27sv48dpBV2zx8/Pe5Of3+Pf77s7u1oznwVTu14b9/ftKXnRqepLu0o9ldonr7vDm0H7y5r319vZQZXvu2I18i5f05bFCVW/eqRDpzoDu1ZBRZHXp1JDv04ntzYJ+jZs1Tmfuz3zz5rX+/fv7/PXxzn3047bu1ZXpvEj9/f36+/zy8fT2683Fz9Tqz4bnym7jpgz+//79/////v/+/v/+/v7///3+/v3+//3//v7//vz//v38///+/vz9//79/v/+//z///z8//79/v3kpg3+/fjqynj8/v7t15rlpArvz3f4/Or6/O388tH8/fnoqBmAkaC9ydE7V27+/vftz4V0gY7nzHjotDr48c92iJh5h5bBys/mxm3mymXtyGnz47Lm0YTz4rDrwU/euUVugI5neYz2+ebpx3D8+/Tqy3HqzHfvy3Gaq7jo0XLorzHw2ZTquELp0YLq1ITouz3t04br1ImzusCksbbnsSjH0NT268jg4+czUWc3UW05UGjo5+jjv1Dlv1rsvlvv47LsyoFHY3n69N/oyXSutsHiowo3T2f++vj///7+//////+5tIDWAAAFkUlEQVR42tyW+VsTVxSGs0GAsAhIICYsYREQEAlQXEAQBUREQVxwYdECIqu7VaighYqoKOIKbsyWhJAQIKLSTattba21tbUV7Gpt1WKhq9pl7ukdrPYPaPqDnWdmnntn5r4zc+/5vnN48B9tvKcPjFgWAQvAnQkYPswD7tDlmpZr5c3NJv1yw/5UkJgL3E3v08R0m/Y1h62SoOgTG7oNZgKbujuRkTI266MW1EeyA9cVtJnAcvaX+aCSWFgAmtSvQF87IzOBVWTJtDnI5kb9pFxks4uZ7WLGcHtw/WpY5KrihBJiQdQcVzOCybBTrn0kbL0cPfBt9A4zgjVgMePEth60YmRhg42bBW02sNGRQtbfnDqoiPr1uSuHesylPAS6P1MVFLw9o951a0ItII/EuAdA+fhQLEFRBAF0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774qjtocj5n5a8NWBJQ+WJVQ0o6O2GQG1Fuy8j99Zj0eA/aKxVQ4sTBCMLXWaAtVF2TUCdwD3kBThHa1DaTyoH2dp9KyiQt8FwGghN9VHjpopQHoS9r8GpAbpK3pUgF5xBFZH4UfwjkCN+fJ9AOsdOReDUVgYKh3uEiDHmHb2MZjWkwYVJ3kwYffoUEnkXRpVt6rLcFpzgVKNk5g0JmA1RlrfzXBOwOV1OK0nO1hQqxFjMHSpCZ3WyOnMaELYWJ7UFZTBpOnq5FqMRqtmGDw/VBsgWkMz3XRnJ8vVBZyCkbb9sa0OexD3s/jz2xgStREEriVAqwVEkk/AyETRpnZ8gyXa29r/pWVic2KfwhLr/wJmWQYvMc4RQCKKJBAJwwmHYSmWQRSBUxCLQ+qfApImEQ4hnEuov/UGfwkwAE3t4ITDYwRSAAAAAElFTkSuQmCC"
      }
    },
    {
      "Image": {
        "SourceType": "URL",
        "SourceValue": "http://storefeeder.com/Cms_Data/Sites/StoreFeeder_V3/Themes/StoreFeeder_V3/images/logo-light.png"
      },
      "VariantAttribute": {
        "Name": "Colour",
        "Value": "Red"
      }
    }
  ],
  "ManufacturerPartNumber": "mpn-Tshirt-1",
  "CustomAttributes": [
    {
      "CustomAttribute": {
        "CustomAttributeID": 12,
        "CustomAttributeName": "Batteries Included"
      },
      "Value": "Yes"
    },
    {
      "CustomAttribute": {
        "CustomAttributeID": 12,
        "CustomAttributeName": "Warranty"
      },
      "Value": "1-2 Years"
    },
    {
      "CustomAttribute": {
        "CustomAttributeName": "New Custom Attribute"
      },
      "Value": "value for new attribute"
    }
  ]
}

Response Information

Resource Description

Create new Product.

ProductModel
NameDescriptionTypeAdditional information
ProductID The ID of the Product integer None.
SKU The Sku of the Product. string None.
Name The name that was given to the product. string None.
ProductGUID The Guid of the product. globally unique identifier None.
ParentProduct The Parent product of the product. ProductBaseModel None.
ProductType The product type. For instance: Kit, Simple, Parent. ProductType None.
Suppliers The suppliers specified for the product. Collection of ProductSupplierModel None.
GlobalTradeIdentifiers This container contains items like EAN, UPC and additional barcodes ProductGlobalTradeIdentifiers None.
WarehouseInformation This contains warehouse information like Pickbin, WarehouseZone etc. ProductWarehouseInformationModel None.
PricingInformation Product pricing info for instance: Price, RRP, Includes VAT. TaxClass ProductPricingInfoModel None.
InventoryInformation A container to hold all of the inventory information for the product. ProductInventoryInfoModel None.
Categories The categories that the product is a part of. Collection of CategoryBaseModel None.
Brand The brand of the product string None.
Description The products Description string None.
IsAkit Whether the product is a kit or not. boolean None.
ProductImages Collection of ProductImageModel None.
ManufacturerPartNumber The products Manufacturer Part number. string None.
CreatedOnDate The created date of the product. date None.
LastModifiedDate The last modified Date of the product. date None.
Children The child products associated to the parent. Collection of ProductChildModel None.
CustomAttributes The custom Attributes for the product. Collection of ProductCustomAttributeModel None.
ProductAdditions Collection of ProductAdditionsModel None.

Response Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "SKU": "Shoes",
  "Name": "Shoes",
  "ProductGUID": "efd91611-cb81-4b87-8a85-123524e201a1",
  "ProductType": "Parent",
  "Suppliers": [
    {
      "Supplier": {
        "Currency": {
          "CurrencyID": 44,
          "CurrencyCode": "GBP",
          "CurrencyName": "British Pounds",
          "Symbol": "£"
        },
        "SupplierID": 1,
        "Name": "Supplier 1"
      },
      "SupplierSKU": "sup1",
      "SupplierCosts": 4.5,
      "SupplierStockLevel": 12,
      "SupplierLeadTime": 2,
      "SupplierCartonQuantities": 1,
      "Priority": 0
    }
  ],
  "GlobalTradeIdentifiers": {
    "EAN": "12345678910",
    "UPC": "123456789123",
    "AdditionalBarcodes": [
      "barcode1",
      "barcode2"
    ]
  },
  "WarehouseInformation": {
    "Warehouse": {
      "WarehouseName": "My Warehouse",
      "WarehouseGuid": "7997e7e3-4e59-4881-90ed-27349f08c574",
      "WarehouseID": 1
    },
    "StockLocations": [
      {
        "StockLocation": {
          "StockLocationID": 1234,
          "StockLocationReference": "pb-1",
          "LocationOrder": 1,
          "Warehouse": {
            "WarehouseName": "My Warehouse",
            "WarehouseGuid": "17731093-4604-4dcd-a45d-5d52e7b9916a",
            "WarehouseID": 1
          },
          "WarehouseZone": {
            "WarehouseZoneID": 3343,
            "Name": "Wz-1"
          },
          "StockLocationType": "Pickbin"
        },
        "Available": 100,
        "Allocated": 1,
        "PhysicalStock": 101,
        "PendingOut": 0
      }
    ],
    "CartonQuantity": 1,
    "LeadTime": 3,
    "ContainsHazardousMaterials": false,
    "IsFragile": false,
    "UnitOfMeasure": "CM",
    "Weight": 1.0,
    "Packaging": {
      "PackagingID": 1,
      "PackagingName": "Parcel"
    },
    "PackagingQuantity": 1,
    "ProductTypeDescription": "shoes",
    "DetailedProductTypeDescription": "Shoes and laces",
    "ProductComposition": "Leather",
    "ProductHarmonizedCode": ""
  },
  "PricingInformation": {
    "TaxClass": {
      "TaxClassID": 4,
      "TaxClassGuid": "00000000-0000-0000-0000-000000000000",
      "CreatedOn": "0001-01-01T00:00:00",
      "IsGlobal": false,
      "Name": "Standard UK",
      "TaxRate": 20.0
    },
    "Price": 15.99,
    "RRP": 10.0,
    "Margin": 1.5,
    "PriceIncludesVat": true
  },
  "InventoryInformation": {
    "Inventory": 100,
    "Allocated": 1,
    "OnBackOrder": 0,
    "OnPurchaseOrder": 10,
    "ManualReorderLevel": 10,
    "CalculatedReorderLevel": 5,
    "SoldLast30Days": 20,
    "SoldLast90Days": 50,
    "SoldLast120Days": 100,
    "LastOrderedDate": "2017-11-20T04:32:45.0266839Z"
  },
  "Categories": [
    {
      "CategoryID": 1,
      "CategoryName": "Shoes"
    },
    {
      "CategoryID": 2,
      "CategoryName": "Trainers"
    }
  ],
  "Brand": "Brand 1",
  "Description": "A pair of shoes.",
  "IsAkit": true,
  "ProductImages": [
    {
      "ProductImageID": 1,
      "ImageURL": "http://storefeeder.com/images/1.jpg",
      "Order": 1,
      "Height": 1000,
      "Width": 1000
    },
    {
      "ProductImageID": 2,
      "ImageURL": "http://storefeeder.com/images/2.jpg",
      "Order": 1,
      "Height": 1000,
      "Width": 1000
    }
  ],
  "ManufacturerPartNumber": "mfn1234",
  "CreatedOnDate": "2017-10-23T04:32:45.0266839Z",
  "LastModifiedDate": "2017-11-07T04:32:45.0266839Z",
  "Children": [
    {
      "Product": {
        "ProductID": 2,
        "SKU": "shoe-1"
      },
      "VariantAttributes": [
        {
          "Name": "Colour",
          "Value": "Red"
        },
        {
          "Name": "Size",
          "Value": "8"
        }
      ]
    },
    {
      "Product": {
        "ProductID": 3,
        "SKU": "shoe-2"
      },
      "VariantAttributes": [
        {
          "Name": "Colour",
          "Value": "Red"
        },
        {
          "Name": "Size",
          "Value": "9"
        }
      ]
    },
    {
      "Product": {
        "ProductID": 4,
        "SKU": "shoe-3"
      },
      "VariantAttributes": [
        {
          "Name": "Colour",
          "Value": "Blue"
        },
        {
          "Name": "Size",
          "Value": "8"
        }
      ]
    },
    {
      "Product": {
        "ProductID": 5,
        "SKU": "shoe-4"
      },
      "VariantAttributes": [
        {
          "Name": "Colour",
          "Value": "Blue"
        },
        {
          "Name": "Size",
          "Value": "9"
        }
      ]
    }
  ],
  "CustomAttributes": [
    {
      "CustomAttribute": {
        "CustomAttributeID": 1,
        "CustomAttributeName": "Material"
      },
      "Value": "Leather"
    },
    {
      "CustomAttribute": {
        "CustomAttributeID": 2,
        "CustomAttributeName": "Includes Batteries"
      },
      "Value": "false"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: There was an error generating the XML document.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: There was an error generating the XML document.