POST api/store/{storeID}/product/{id}/apn/{apn}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
storeID

integer

Required

id

globally unique identifier

Required

apn

string

Required

Body Parameters

PluApn
NameDescriptionTypeAdditional 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": "Uw4rwX0LnUutiJfEZjYffw==",
  "pluGuid": "c12b0e53-0b7d-4b9d-ad88-97c466361f7f",
  "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>Uw4rwX0LnUutiJfEZjYffw==</PluG_UID>
  <PluGuid>c12b0e53-0b7d-4b9d-ad88-97c466361f7f</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.