POST api/ProductPriceImports

Request Information

URI Parameters

None.

Body Parameters

PriceImport
NameDescriptionTypeAdditional information
Barcode

string

None.

CatalogueID

integer

None.

SKUCostPrice

decimal number

None.

SellingPrice

decimal number

None.

EndDate

date

None.

SuppliersProductCode

string

None.

CatalogueProviderParentProductCode

string

None.

CatalogueProviderProductCode

string

None.

StartDate

date

None.

Reason

PriceReason

None.

OverwriteMatchingPrices

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Barcode": "sample string 1",
  "CatalogueID": 2,
  "SKUCostPrice": 1.0,
  "SellingPrice": 1.0,
  "EndDate": "2024-11-23T16:00:51.2159721+00:00",
  "SuppliersProductCode": "sample string 3",
  "CatalogueProviderParentProductCode": "sample string 4",
  "CatalogueProviderProductCode": "sample string 5",
  "StartDate": "2024-11-23T16:00:51.2159721+00:00",
  "Reason": 0,
  "OverwriteMatchingPrices": true
}

application/xml, text/xml

Sample:
<PriceImport 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>
  <CatalogueID>2</CatalogueID>
  <CatalogueProviderParentProductCode>sample string 4</CatalogueProviderParentProductCode>
  <CatalogueProviderProductCode>sample string 5</CatalogueProviderProductCode>
  <EndDate>2024-11-23T16:00:51.2159721+00:00</EndDate>
  <OverwriteMatchingPrices>true</OverwriteMatchingPrices>
  <Reason>PriceChange</Reason>
  <SKUCostPrice>1</SKUCostPrice>
  <SellingPrice>1</SellingPrice>
  <StartDate>2024-11-23T16:00:51.2159721+00:00</StartDate>
  <SuppliersProductCode>sample string 3</SuppliersProductCode>
</PriceImport>

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": "c3d7d221-cb0f-4012-8571-f33cdd46bfc8",
  "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>c3d7d221-cb0f-4012-8571-f33cdd46bfc8</ID>
  <ParentNotFound>true</ParentNotFound>
</IProductImportResult>