POST api/invoice/{id}/detail/{pluGuid}/price

Update a product's future price

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Header Identifier

globally unique identifier

Required

pluGuid

Product identifier

globally unique identifier

Required

Body Parameters

Model containing the future price details

InvoicePriceChange
NameDescriptionTypeAdditional 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": "KEFeE1Oax0y+VINrS4EWiw==",
  "identifierGuid": "135e4128-9a53-4cc7-be54-836b4b81168b",
  "headerIdentifier": "jcHHidVyJk+8GC2Utq9qLQ==",
  "headerIdentifierGuid": "89c7c18d-72d5-4f26-bc18-2d94b6af6a2d",
  "pluG_UID": "gdIOeiv+JkOnRF5Olmwzxg==",
  "pluGuid": "7a0ed281-fe2b-4326-a744-5e4e966c33c6",
  "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>jcHHidVyJk+8GC2Utq9qLQ==</HeaderIdentifier>
  <HeaderIdentifierGuid>89c7c18d-72d5-4f26-bc18-2d94b6af6a2d</HeaderIdentifierGuid>
  <Identifier>KEFeE1Oax0y+VINrS4EWiw==</Identifier>
  <IdentifierGuid>135e4128-9a53-4cc7-be54-836b4b81168b</IdentifierGuid>
  <PLUG_UID>gdIOeiv+JkOnRF5Olmwzxg==</PLUG_UID>
  <PluGuid>7a0ed281-fe2b-4326-a744-5e4e966c33c6</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.