POST api/product/plu/{plu}/apn/{apn}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| plu | integer |
Required |
|
| apn | string |
Required |
Body Parameters
PluApn| Name | Description | Type | Additional information |
|---|---|---|---|
| PluID | integer |
None. |
|
| PluG_UID | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| Apn |
Australian Product Number Now known as GTIN - Global trade identification number |
string |
String length: inclusive between 0 and 20 |
| Deleted |
Removed from product |
boolean |
None. |
| StoreID |
When this is specified, the PluApn is to be sent to a single store |
integer |
Relation. This field may not always be loaded or used for updates. |
| StoreIDs |
Affects which other stores are updated when master plu guid is updated |
Collection of integer |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"pluID": 1,
"pluG_UID": "9teR+VM7xkWNCt98RFzDow==",
"pluGuid": "f991d7f6-3b53-45c6-8d0a-df7c445cc3a3",
"apn": "sample string 1",
"deleted": true,
"storeID": 1,
"storeIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<PluApn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
<Apn>sample string 1</Apn>
<Deleted>true</Deleted>
<PluG_UID>9teR+VM7xkWNCt98RFzDow==</PluG_UID>
<PluGuid>f991d7f6-3b53-45c6-8d0a-df7c445cc3a3</PluGuid>
<PluID>1</PluID>
<StoreID>1</StoreID>
<StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StoreIDs>
</PluApn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.