POST api/product/{id}/apn/{apn}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
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": "vhQp1qB3zEaqa3KwHpnunA==",
"pluGuid": "d62914be-77a0-46cc-aa6b-72b01e99ee9c",
"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>vhQp1qB3zEaqa3KwHpnunA==</PluG_UID>
<PluGuid>d62914be-77a0-46cc-aa6b-72b01e99ee9c</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.