GET
/
v1
/
purchase_orders
/
list
curl --location --request GET 'https://api.stateset.com/v1/purchase_order/list' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "rt_1NXWPnCo6bFb1KQto6C8OWvE",
}'
{
    {
    "id": "po_1NXWPnCo6bFb1KQto6C8OWvE",
    "createdat": "2021-04-20T20:00:00.000Z",
    "delivery_date": "2021-04-20T20:00:00.000Z",
    "description": "This is a purchase order.",
    "external_id": "po_1NXWPnCo6bFb1KQto6C8OWvE",
    "financer": "0x00000000",
    "fulfiller": "0x00000000",
    "lastupdated": "2021-04-20T20:00:00.000Z",
    "purchase_date": "2021-04-20T20:00:00.000Z",
    "purchase_order_hash": "0x00000000",
    "purchase_order_name": "Purchase Order",
    "purchase_order_number": "po_1NXWPnCo6bFb1KQto6C8OWvE",
    "purchase_order_status": "0x00000000",
    "purchaser": "0x00000000",
    "subtotal": "0.00",
    "total": "0.00",
    "vendor": "0x00000000",
    "transaction_id": "0x00000000"

    }
}   

Body

limit
string
required

This is the limit of the purchase orders.

offset
string
required

This is the offset of the purchase orders.

order_direction
string
required

This is the order direction of the purchase orders.

Response

id
string

This is the id of the purchase order.

createdat
string

This is the date the purchase order was created.

delivery_date
string

This is the date the purchase order was delivered.

description
string

This is the description of the purchase order.

external_id
string

This is the external id of the purchase order.

financer
string

This is the financer of the purchase order.

fulfiller
string

This is the fulfiller of the purchase order.

lastupdated
string

This is the date the purchase order was last updated.

purchase_date
string

This is the date the purchase order was purchased.

purchase_order_hash
string

This is the hash of the purchase order.

purchase_order_name
string

This is the name of the purchase order.

purchase_order_number
string

This is the number of the purchase order.

purchase_order_status
string

This is the status of the purchase order.

purchaser
string

This is the purchaser of the purchase order.

subtotal
string

This is the subtotal of the purchase order.

total
string

This is the total of the purchase order.

vendor
string

This is the vendor of the purchase order.

transaction_id
string

This is the transaction id of the purchase order.