GET
/
v1
/
wholesale_order
/
list
List Wholesale Orders
curl --request GET \
  --url https://api.stateset.com/v1/wholesale_order/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "limit": "<string>",
  "offset": "<string>",
  "order_direction": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "order_number": "<string>",
  "created_date": "<string>",
  "updated_date": "<string>",
  "order_financial_status": "<string>",
  "order_fulfillment_status": "<string>",
  "order_imported_status": "<string>",
  "delivery_date": "<string>",
  "delivery_address": "<string>",
  "location": "<string>",
  "memo": "<string>",
  "imported_date": "<string>",
  "customer_number": "<string>",
  "buyer_email": "<string>",
  "buyer_message": "<string>",
  "cancel_order_sla_time": "<string>",
  "cancel_reason": "<string>",
  "cancellation_initiator": "<string>",
  "fulfillment_type": "<string>",
  "delivery_type": "<string>",
  "is_cod": true,
  "is_replacement_order": true,
  "seller_note": "<string>",
  "status": "<string>",
  "tracking_number": "<string>",
  "warehouse_id": "<string>",
  "wholesale_order_line_items": [
    {
      "id": "<string>"
    }
  ]
}

Body

limit
string
required
This is the limit of the wholesale orders.
offset
string
required
This is the offset of the wholesale orders.
order_direction
string
required
This is the order direction of the wholesale orders.

Response

id
string
The Id of the wholesale order
name
string
The name of the wholesale order
order_number
string
The order number of the wholesale order
created_date
string
The date the wholesale order was created
updated_date
string
The date the wholesale order was last updated
order_financial_status
string
The financial status of the wholesale order
order_fulfillment_status
string
The fulfillment status of the wholesale order
order_imported_status
string
The imported status of the wholesale order
delivery_date
string
The delivery date of the wholesale order
delivery_address
string
The delivery address of the wholesale order
location
string
Location or site where the work order is applicable
memo
string
Memo or additional notes related to the work order
imported_date
string
The date the wholesale order was imported
customer_number
string
The customer number of the wholesale order
buyer_email
string
The email of the buyer
buyer_message
string
Message from the buyer
cancel_order_sla_time
string
SLA time for order cancellation
cancel_reason
string
Reason for order cancellation
cancellation_initiator
string
Who initiated the cancellation
fulfillment_type
string
Type of fulfillment for the order
delivery_type
string
Type of delivery for the order
is_cod
boolean
Whether the order is Cash on Delivery
is_replacement_order
boolean
Whether this is a replacement order
seller_note
string
Note from the seller
status
string
Current status of the order
tracking_number
string
Tracking number for the order
warehouse_id
string
ID of the warehouse fulfilling the order
wholesale_order_line_items
array