PUT
/
v1
/
purchase_orders
/
:id
curl --location --request PUT 'https://api.stateset.com/v1/purchaseorder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
      'id': '0901f083-aa1c-43c5-af5c-0a9d2fc64e30',
      'status': 'RCV'
      'condition': 'B'
}'
{
    "id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "createdat": "2021-01-01T00:00:00.000Z",
    "delivery_date": "2021-01-01T00:00:00.000Z",
    "description": "This is the description of the purchase order.",
    "external_id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "financer": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "fulfiller": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "lastupdated": "2021-01-01T00:00:00.000Z",
    "purchase_date": "2021-01-01T00:00:00.000Z",
    "purchase_order_hash": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "purchase_order_name": "This is the name of the purchase order.",
    "purchase_order_number": "This is the number of the purchase order.",
    "purchase_order_status": "This is the status of the purchase order.",
    "purchaser": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "subtotal": "This is the subtotal of the purchase order.",
    "total": "This is the total of the purchase order.",
    "vendor": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
    "transaction_id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
    
}   

Body

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.

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.