POST api/ProductImports

Request Information

URI Parameters

None.

Body Parameters

ProductImport
NameDescriptionTypeAdditional information
Barcode

string

None.

BrandName

string

None.

CatalogueID

integer

None.

CatalogueProviderProductCode

string

None.

CategoryName

string

None.

Chilled

boolean

None.

SKUCostPrice

decimal number

None.

CostPriceUnit

decimal number

None.

Deleted

boolean

None.

Description

string

None.

EndDate

date

None.

Ethical

boolean

None.

FairTrade

boolean

None.

Name

string

None.

Organic

boolean

None.

OuterBarcode

string

None.

PriceSource

string

None.

SellingPriceSKU

decimal number

None.

SellingPrice

decimal number

None.

SKUName

string

None.

SKUSize

decimal number

None.

StartDate

date

None.

SupplierName

string

None.

SuppliersProductCode

string

None.

TaxName

string

None.

TaxRate

decimal number

None.

CatalogueProviderParentProductCode

string

None.

CatalogueProviderCategoryCode

string

None.

CategoryParentName

string

None.

CatalogueProviderCategoryParentCode

string

None.

Temperature

Temperature

None.

Request Formats

application/json, text/json

Sample:
{
  "Barcode": "sample string 1",
  "BrandName": "sample string 2",
  "CatalogueID": 3,
  "CatalogueProviderProductCode": "sample string 4",
  "CategoryName": "sample string 5",
  "Chilled": true,
  "SKUCostPrice": 1.0,
  "CostPriceUnit": 1.0,
  "Deleted": true,
  "Description": "sample string 7",
  "EndDate": "2024-11-23T15:58:55.2378972+00:00",
  "Ethical": true,
  "FairTrade": true,
  "Name": "sample string 8",
  "Organic": true,
  "OuterBarcode": "sample string 9",
  "SellingPriceSKU": 1.0,
  "SellingPrice": 1.0,
  "SKUName": "sample string 11",
  "SKUSize": 12.0,
  "StartDate": "2024-11-23T15:58:55.2378972+00:00",
  "SupplierName": "sample string 13",
  "SuppliersProductCode": "sample string 14",
  "TaxName": "sample string 15",
  "TaxRate": 16.0,
  "CatalogueProviderParentProductCode": "sample string 17",
  "CatalogueProviderCategoryCode": "sample string 18",
  "CategoryParentName": "sample string 19",
  "CatalogueProviderCategoryParentCode": "sample string 20",
  "Temperature": 0
}

application/xml, text/xml

Sample:
<ProductImport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models.CatalogueProvider">
  <Barcode>sample string 1</Barcode>
  <BrandName>sample string 2</BrandName>
  <CatalogueID>3</CatalogueID>
  <CatalogueProviderCategoryCode>sample string 18</CatalogueProviderCategoryCode>
  <CatalogueProviderCategoryParentCode>sample string 20</CatalogueProviderCategoryParentCode>
  <CatalogueProviderParentProductCode>sample string 17</CatalogueProviderParentProductCode>
  <CatalogueProviderProductCode>sample string 4</CatalogueProviderProductCode>
  <CategoryName>sample string 5</CategoryName>
  <CategoryParentName>sample string 19</CategoryParentName>
  <Chilled>true</Chilled>
  <CostPriceUnit>1</CostPriceUnit>
  <Deleted>true</Deleted>
  <Description>sample string 7</Description>
  <EndDate>2024-11-23T15:58:55.2378972+00:00</EndDate>
  <Ethical>true</Ethical>
  <FairTrade>true</FairTrade>
  <Name>sample string 8</Name>
  <Organic>true</Organic>
  <OuterBarcode>sample string 9</OuterBarcode>
  <PriceSource>sample string 10</PriceSource>
  <SKUCostPrice>1</SKUCostPrice>
  <SKUName>sample string 11</SKUName>
  <SKUSize>12</SKUSize>
  <SellingPrice>1</SellingPrice>
  <SellingPriceSKU>1</SellingPriceSKU>
  <StartDate>2024-11-23T15:58:55.2378972+00:00</StartDate>
  <SupplierName>sample string 13</SupplierName>
  <SuppliersProductCode>sample string 14</SuppliersProductCode>
  <TaxName>sample string 15</TaxName>
  <TaxRate>16</TaxRate>
  <Temperature>Any</Temperature>
</ProductImport>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IProductImportResult
NameDescriptionTypeAdditional information
Action

eProductImportResult

None.

ParentNotFound

boolean

None.

ID

globally unique identifier

None.

CategoryId

integer

None.

Barcode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Action": 1,
  "ParentNotFound": true,
  "ID": "dfcb8b98-2a1e-4b1a-af8d-4365696f9848",
  "CategoryId": 2,
  "Barcode": "sample string 3"
}

application/xml, text/xml

Sample:
<IProductImportResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fidelity.Fusion.Catalogue.Common.Models.CatalogueProvider">
  <Action>Updated</Action>
  <Barcode>sample string 3</Barcode>
  <CategoryId>2</CategoryId>
  <ID>dfcb8b98-2a1e-4b1a-af8d-4365696f9848</ID>
  <ParentNotFound>true</ParentNotFound>
</IProductImportResult>