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
InvoicePriceChangeName | 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": "UHkYsXTwTkOhUQnHHKD5RQ==", "identifierGuid": "b1187950-f074-434e-a151-09c71ca0f945", "headerIdentifier": "spBUliFbuEOfjyoU+AxDbg==", "headerIdentifierGuid": "965490b2-5b21-43b8-9f8f-2a14f80c436e", "pluG_UID": "Sh1cTYoI2UmYmvSbGcivQQ==", "pluGuid": "4d5c1d4a-088a-49d9-989a-f49b19c8af41", "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>spBUliFbuEOfjyoU+AxDbg==</HeaderIdentifier> <HeaderIdentifierGuid>965490b2-5b21-43b8-9f8f-2a14f80c436e</HeaderIdentifierGuid> <Identifier>UHkYsXTwTkOhUQnHHKD5RQ==</Identifier> <IdentifierGuid>b1187950-f074-434e-a151-09c71ca0f945</IdentifierGuid> <PLUG_UID>Sh1cTYoI2UmYmvSbGcivQQ==</PLUG_UID> <PluGuid>4d5c1d4a-088a-49d9-989a-f49b19c8af41</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.