POST api/invoice/{id}/detail/{pluGuid}/price
Update a product's future price
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Header Identifier |
globally unique identifier |
Required |
| pluGuid |
Product identifier |
globally unique identifier |
Required |
Body Parameters
Model containing the future price details
InvoicePriceChange| Name | Description | Type | Additional information |
|---|---|---|---|
| Identifier | Collection of byte |
None. |
|
| IdentifierGuid | globally unique identifier |
None. |
|
| HeaderIdentifier | Collection of byte |
None. |
|
| HeaderIdentifierGuid | globally unique identifier |
None. |
|
| PLUG_UID | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| FuturePrice |
The future price of the product |
integer |
None. |
| FutureGrossProfitPercent |
The future gross profit % of the product with the given price |
decimal number |
None. |
| StoreIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"identifier": "j7Qe9EiSr02He/5+jHMk/g==",
"identifierGuid": "f41eb48f-9248-4daf-877b-fe7e8c7324fe",
"headerIdentifier": "wDHb6gkZpEGeBW0MMrds6Q==",
"headerIdentifierGuid": "eadb31c0-1909-41a4-9e05-6d0c32b76ce9",
"pluG_UID": "4ERgp1YONkazAYi4DsJ7uw==",
"pluGuid": "a76044e0-0e56-4636-b301-88b80ec27bbb",
"futurePrice": 1,
"futureGrossProfitPercent": 2.1,
"storeIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<InvoicePriceChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Invoices">
<FutureGrossProfitPercent>2.1</FutureGrossProfitPercent>
<FuturePrice>1</FuturePrice>
<HeaderIdentifier>wDHb6gkZpEGeBW0MMrds6Q==</HeaderIdentifier>
<HeaderIdentifierGuid>eadb31c0-1909-41a4-9e05-6d0c32b76ce9</HeaderIdentifierGuid>
<Identifier>j7Qe9EiSr02He/5+jHMk/g==</Identifier>
<IdentifierGuid>f41eb48f-9248-4daf-877b-fe7e8c7324fe</IdentifierGuid>
<PLUG_UID>4ERgp1YONkazAYi4DsJ7uw==</PLUG_UID>
<PluGuid>a76044e0-0e56-4636-b301-88b80ec27bbb</PluGuid>
<StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</StoreIDs>
</InvoicePriceChange>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.