POST api/order/changetopaid
Request Information
URI Parameters
None.
Body Parameters
OrderApiName | Description | Type | Additional information |
---|---|---|---|
ids |
The orderitems ids |
Collection of integer |
Required |
status |
1 = paid, 0 = not paid |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "ids": [ 1, 2 ], "status": 1 }
application/xml, text/xml
Sample:
<OrderApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ids> <int>1</int> <int>2</int> </ids> <status>1</status> </OrderApi>
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.