UpdatePps
Updated on
Serves for the update of existing PPS datasets for the stated program.
Input
<UpdatePps xmlns="http://services.zanox.com/erp"> <programid>10</programid> <ppsupdate xmlns="http://services.zanox.com/erp/Import"> <pps id="a1a1a1a1-a1a1–a1a1–a1a1–a1a1a1a1a1a1"> <program id="10"/> <expiration date="2004-05-21T11:00:22"/> <amount> <price currency="EUR">3.50</price> </amount> <review state="0">ReviewText</review> <commission fix="4.05" percent="3.00"/> </pps> ... </ppsupdate> </UpdatePps>
Object | Data type | Characters | Description | Mandatory? |
---|---|---|---|---|
<programid> |
int |
ID of the program whose
PPS datasets will be updated
|
x | |
<ppsupdate> |
PPS datasets, which will be
updated
|
x | ||
<pps> |
x | |||
id | normalizedstring |
Unique ID of the PPS dataset
(GUID)
|
x | |
<program> |
x | |||
id | int |
ID of the program for which
the datasets will be updated
|
x | |
<expiration> |
||||
date | datetime | Expiration date | ||
<amount> |
||||
<price> |
decimal | |||
currency | normalizedstring | Maximum 3 | ||
<review> |
string | Maximum 255 | Review text | |
state | normalizedstring |
Review status
0 = open
1 = confirmed, approved
2 = rejected
|
||
<commission> |
||||
fix | decimal |
Fixed commission in the program
currency
|
||
percent | decimal | Variable commission in percent |
Resource Information
Rate Limited? | No |
Requests per rate limit window | N/A |
Authentication | Requires Authentication |
Response Formats | |
Resource family | |
Response Object | |
API Version | 3.0.1.1 |
NOTE: You can undo the status "Rejected" and set a transaction back to "Open" once. Please note, that the transaction will be set to "Approved" by zanox after 72 hours.