OrderStatus
Ozan avatar
Written by Ozan
Updated over a week ago

Knowing the order status will allow apps to execute certain actions based on the order status (e.g. send order to kitchen after the order is complete and saved in WooCommerce).

GET

Description:
Retrieve the status and IDs of the current order.

Request Body:

JSON

{ 
command: 'OrderStatus',
method: 'get',
version: '2.0',
}

Response Body:

JSON

{ 
command: 'Payment',
method: 'get',
version: '2.0',
status_code: 200,
data: {
wc_status: 'park_sale',
wc_order_no: '16948',
oliver_order_id: '0101021122001856' }
}
]
}

Parameters:

Attribute Name

Attribute Type

Description

Enum

Required (binary)

command

string

High level command name to interact with Oliver

null

1

method

string

These correspond to create, read, update, and delete (or CRUD) operations

null

1

version

string

The version of the command used

null

1

Did this answer your question?