POST api/order/Order/{orderID}/Post?postOnlyIfBalanceIsZero={postOnlyIfBalanceIsZero}
This API method will allow you to Post an UnOfficial order
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderID |
Order # of the order to Post |
integer |
Required |
| postOnlyIfBalanceIsZero |
When true (default), the order is only posted if its payments cover the order total. Pass false to post an order that still has a balance due (e.g. advanced return orders). Mirrors the SOAP SetStatusPosted behavior. Honored only for trusted API integrations (Basic / ByDesignXHeader); Rep/Customer bearer-token callers are always forced to true. |
boolean |
Default value is True |
Body Parameters
None.
Request Formats
application/xml
Sample:
text/xml
Sample:
application/json
Sample:
text/json
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.