POST api/store/{storeID}/product/item/{plu}/hierarchy

Perform an update to all products via Item number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
plu

integer

Required

storeID

integer

Required

Body Parameters

ProductItemHierarchy
NameDescriptionTypeAdditional information
StoreID

integer

None.

PLU

integer

None.

Guid

globally unique identifier

None.

GSTPercent

integer

None.

DepartmentCode

string

String length: inclusive between 0 and 20

SubDepartmentCode

string

String length: inclusive between 0 and 20

MinorDepartmentCode

string

String length: inclusive between 0 and 20

LesserDepartmentCode

string

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "storeID": 1,
  "plu": 1,
  "guid": "c235a0d9-1fd8-4977-94aa-622c41b1ef0e",
  "gstPercent": 1,
  "departmentCode": "sample string 2",
  "subDepartmentCode": "sample string 3",
  "minorDepartmentCode": "sample string 4",
  "lesserDepartmentCode": "sample string 5"
}

application/xml, text/xml

Sample:
<ProductItemHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
  <DepartmentCode>sample string 2</DepartmentCode>
  <GSTPercent>1</GSTPercent>
  <Guid>c235a0d9-1fd8-4977-94aa-622c41b1ef0e</Guid>
  <LesserDepartmentCode>sample string 5</LesserDepartmentCode>
  <MinorDepartmentCode>sample string 4</MinorDepartmentCode>
  <PLU>1</PLU>
  <StoreID>1</StoreID>
  <SubDepartmentCode>sample string 3</SubDepartmentCode>
</ProductItemHierarchy>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.