Simple confirm order
POST {{baseUrl}}/simpleconfirm
No need to set payment address, shipping address, payment method, and shipping method.Confirm order, check order data before save to database
This simple order only requires these steps:
1;login user
2;add item to cart
3;call simple order service with POST method
4;call simple order service with PUT method.
Service urls:
http://yourdomain.com/api/rest/simpleconfirm
OR
http://yourdomain.com/index.php?route=rest/simple_confirm/confirm
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
X-Oc-Session
|
string | (Required) User session id | |
Accept
|
string |
RESPONSES
status OK
{
"success": 1,
"error": [
"Error description",
"Error description"
],
"data": {}
} |
ENDPOINTS