PUT POS/PurchaseOrders/{id} Try Now
Update Purchase Order by Id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The Purchase Order Id.
|
string |
Required
|
Body Parameters
The request for update purchase order.
Name | Description | Type | Additional information |
---|---|---|---|
ShipFromContactId |
Unique identifier for vendor.
|
string |
Optional
|
Currency |
Currency.
|
string |
Optional
|
ConvertToCurrency |
Value indicating whether to convert to currency.
|
boolean |
Optional
|
ExternalOrderNumber |
External order number.
|
string |
Max length: 100
Optional
|
POType |
Type of the PO.
|
POType |
Optional
|
Shipping |
Shipping cost.
|
ShippingDetails |
Optional
|
Consignment |
Consignment values.
|
ConsignmentPODetails |
Optional
|
PublicNote |
Public note.
|
string |
Optional
|
Items |
Items.
|
Collection of PurchaseOrderItemRequest |
Optional
|
Request Formats
application/json, text/json
Sample:
{ "ShipFromContactId": "", "Currency": "", "ConvertToCurrency": true, "ExternalOrderNumber": "", "POType": "Any", "Shipping": { "Cost": 1.0, "TrackingNumber": "", "Service": "", "Carrier": "None", "Type": "None", "DateExpected": "2024-08-30T09:52", "Note": "" }, "Consignment": { "Operation": "Any", "Commission": 1.0 }, "PublicNote": "", "Items": [ { "PurchaseOrderItemId": "", "FacePrice": { "Currency": "", "Amount": 1.0 }, "UnitPrice": { "Currency": "", "Amount": 1.0 }, "TaxedCost": { "Currency": "", "Amount": 1.0 }, "Overs": 1.0, "Tax": 1.0, "Discount": 1.0, "MinimumPayout": 1.0, "Notes": "", "ExcludeSoldItem": true } ] }
Response Information
Resource Description
None.