PATCH product/{productId}

This call allows to PATCH product. All null/empty fields will be ignored.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productId integer Required

Body Parameters

Product patch you want to perform

ProductPatchModel
NameDescriptionTypeAdditional information
PricingInformation Product pricing info for instance: Price, RRP ProductPatchPricingInfoModel None.
WarehouseInformation This contains warehouse information like Weight, Packagin etc. ProductPatchWarehouseInformationModel None.
ProductSpecialAttribute The Products Special Attribute. string None.

Request Formats

application/json, text/json

Sample:
{
  "PricingInformation": {
    "Price": 10.99,
    "RRP": 12.99
  },
  "WarehouseInformation": {
    "Weight": 0.5,
    "PackagingId": 5,
    "PackagingQuantity": 1,
    "ProductHarmonizedCode": "123456",
    "CountryOfManufacture": "GB"
  },
  "ProductSpecialAttribute": "Special Attribute"
}

application/xml, text/xml

Sample:
<ProductPatchModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PricingInformation>
    <Price>10.99</Price>
    <RRP>12.99</RRP>
  </PricingInformation>
  <WarehouseInformation>
    <Weight>0.5</Weight>
    <PackagingId>5</PackagingId>
    <PackagingQuantity>1</PackagingQuantity>
    <ProductHarmonizedCode>123456</ProductHarmonizedCode>
    <CountryOfManufacture>GB</CountryOfManufacture>
  </WarehouseInformation>
  <ProductSpecialAttribute>Special Attribute</ProductSpecialAttribute>
</ProductPatchModel>

Response Information

Resource Description

This call allows to PATCH product. All null/empty fields will be ignored.

ProductPatchModelResponse
NameDescriptionTypeAdditional information
ProductPatch ProductPatchModelId None.
Success Whether the action was successful boolean None.
Error Any errors that were received Success will always be false if an error is returned. string None.

Response Formats

application/json, text/json

Sample:
{
  "ProductPatch": {
    "ProductIDType": {
      "IDType": "SKU",
      "Value": "SKU123"
    },
    "Product": {
      "PricingInformation": {
        "Price": 10.99,
        "RRP": 12.99
      },
      "WarehouseInformation": {
        "Weight": 0.5,
        "PackagingId": 5,
        "PackagingQuantity": 1,
        "ProductHarmonizedCode": "123456",
        "CountryOfManufacture": "GB"
      },
      "ProductSpecialAttribute": "Special Attribute"
    }
  },
  "Success": true
}