POST api/Order/OrderComplateWC
Woocommerce Sipariş aktarma.
Request Information
URI Parameters
None.
Body Parameters
api_order_wc| Name | Description | Type | Additional information |
|---|---|---|---|
| website_url | string |
None. |
|
| address_json | string |
None. |
|
| product_list | Collection of api_product_wc |
None. |
Request Formats
application/json, text/json
Sample:
{
"website_url": "sample string 1",
"address_json": "sample string 2",
"product_list": [
{
"product_code": "sample string 1",
"quantity": 2
},
{
"product_code": "sample string 1",
"quantity": 2
}
]
}
application/xml, text/xml
Sample:
<api_order_wc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.API">
<address_json>sample string 2</address_json>
<product_list>
<api_product_wc>
<product_code>sample string 1</product_code>
<quantity>2</quantity>
</api_product_wc>
<api_product_wc>
<product_code>sample string 1</product_code>
<quantity>2</quantity>
</api_product_wc>
</product_list>
<website_url>sample string 1</website_url>
</api_order_wc>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
entity_result| Name | Description | Type | Additional information |
|---|---|---|---|
| status_code | string |
None. |
|
| status | boolean |
None. |
|
| title | string |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status_code": "sample string 1",
"status": true,
"title": "sample string 3",
"message": "sample string 4",
"data": {}
}
application/xml, text/xml
Sample:
<entity_result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ENTITY.RESULT_MODELS"> <data /> <message>sample string 4</message> <status>true</status> <status_code>sample string 1</status_code> <title>sample string 3</title> </entity_result>