ParkSale

The app will give users the option to park a sale after generating a Quote. It will also give users the ability to load a previously parked sale into the cart where the user wants to purchase based on a previous quote generated.

GET

Description:
Open the Cart View of a previously parked sale (i.e. unpark sale) using its wc order no. as a query.

Request Body:

JSON

{ command: 'ParkSale', method: 'get', version: '2.0', wc_order_no:"1514" }

Response Body:

JSON

{ "command": "ParkSale", "method": "get", "version": 2.0, "status": 200 }

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

wc_order_no

string

Order Number

null

1

POST

Description:
Add new item(s) into the cart.

Request Body:

JSON

{ 
"command": "ParkSale",
"method": "post",
"version": 2.0 
}

Response Body:

JSON

{ 
"command": "ParkSale", 
"method": "post", 
"version": 2.0, 
"status": 200, 
"data": { "wc_order_no": "1514" }

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

Did this answer your question?
😞
😐
😁