API Load Product Master Updates
HTTP | /<service>/<version>/<parameters> |
POST | /products/v4/update |
Environment | Request URL |
UAT | https://ihubuat.supplystream.com:8081/api/products/v4/update?api_key=<api_Key> |
Live | https://ihub.supplystream.com:8081/api/products/v4/update?api_key=<api_Key> |
Header | Requirement | JSON | XML |
Content-Type | Required | Content-Type: application/json | Content-Type: application/xml |
Accept | Optional. Returns Content-Type format if undefined | Accept: application/json | Accept: application/xml |
API call formatting
XML Format | |
Body | Request> Â <ProductMaster> Â Â <CountryOfOrigin>string</CountryOfOrigin> Â Â <Brand>string</Brand> Â Â <Colour>string</Colour> Â Â <Size>string</Size> Â Â <QCControlled>true</QCControlled> Â Â <QCPercentage>1</QCPercentage> Â Â <SerialNumberControlled>true</SerialNumberControlled> Â Â <InwardProcessing>true</InwardProcessing> Â Â <WetBond>true</WetBond> Â Â <UnitPrice>1.1</UnitPrice> Â Â <LeadTime>1</LeadTime> Â Â <Category1>string</Category1> Â Â <Category2>string</Category2> Â Â <MOQ>1</MOQ> Â Â <Currency>string</Currency> Â Â <ProductUse>string</ProductUse> Â Â <ClientProductStatus>string</ClientProductStatus> Â Â <Business>string</Business> Â Â <Bonded>true</Bonded> Â Â <SecondaryCurrencyCode>string</SecondaryCurrencyCode> Â Â <SecondaryPrice>1.1</SecondaryPrice> Â Â <StyleCode>string</StyleCode> Â Â <Material>string</Material> Â Â <Kit>true</Kit> Â Â <DangerousGoodsClass>string</DangerousGoodsClass> Â Â <Hazmat>string</Hazmat> Â Â <DateControlled>true</DateControlled> Â Â <GrossWeight>1.1</GrossWeight> Â Â <GrossWeightUOM>string</GrossWeightUOM> Â Â <LotControlled>true</LotControlled> Â Â <EAN>string</EAN> Â Â <HTSCode>string</HTSCode> Â Â <Hazardous>true</Hazardous> Â Â <ProductCode>string</ProductCode> Â Â <ProductDescription>string</ProductDescription> Â Â <ProductLongDescription>string</ProductLongDescription> Â </ProductMaster> Â <List> Â Â <Image> Â Â Â <ImageData>string</ImageData> Â Â Â <DefaultImage>true</DefaultImage> Â Â </Image> Â Â <SupplierMapping> Â Â Â <SupplierCode>string</SupplierCode> Â Â Â <SupplierDescription>string</SupplierDescription> Â Â Â <UOM>1</UOM> Â Â </SupplierMapping> Â Â <ShipToCompanyMapping> Â Â Â <BranchCode>string</BranchCode> Â Â Â <CompanyCode>string</CompanyCode> Â Â Â <MappedCode>string</MappedCode> Â Â </ShipToCompanyMapping> Â Â <ProductCategory> Â Â Â <CategoryCode>string</CategoryCode> Â Â </ProductCategory> Â Â <ProductIdentifier> Â Â Â <Name>string</Name> Â Â Â <Values>string</Values> Â Â </ProductIdentifier> Â </List> </Request> |
Example success Response Body | <Response> |
Example failure Response Body | <Response> |
JSON Format | |
Body | {  "ProductMaster": {   "CountryOfOrigin": "string",   "Brand": "string",   "Colour": "string",   "Size": "string",   "QCControlled": true,   "QCPercentage": 0,   "SerialNumberControlled": true,   "InwardProcessing": true,   "WetBond": true,   "UnitPrice": 0,   "LeadTime": 0,   "Category1": "string",   "Category2": "string",   "MOQ": 0,   "Currency": "string",   "ProductUse": "string",   "ClientProductStatus": "string",   "Business": "string",   "Bonded": true,   "SecondaryCurrencyCode": "string",   "SecondaryPrice": 0,   "StyleCode": "string",   "Material": "string",   "Kit": true,   "DangerousGoodsClass": "string",   "Hazmat": "string",   "DateControlled": true,   "GrossWeight": 0,   "GrossWeightUOM": "string",   "LotControlled": true,   "EAN": "string",   "HTSCode": "string",   "Hazardous": true,   "ProductCode": "string",   "ProductDescription": "string",   "ProductLongDescription": "string"  },  "List": {   "Image": [    {     "ImageData": "string",     "DefaultImage": true    }   ],   "SupplierMapping": [    {     "SupplierCode": "string",     "SupplierDescription": "string",     "UOM": 0    }   ],   "ShipToCompanyMapping": [    {     "BranchCode": "string",     "CompanyCode": "string",     "MappedCode": "string"    }   ],   "ProductCategory": [    {     "CategoryCode": "string"    }   ],   "ProductIdentifier": [    {     "Name": "string",     "Values": "string"    }   ]  } } |
Example success Response Body | { |
Example failure Response Body | { |