Purchase Orders

Update a purchase order

PUT
Update a purchase order for an integration.

Path parameters

purchase_order_idstringOptional

Request

This endpoint expects an object.
integration_id
stringRequired
vendor_id
stringOptional
The Propexo unique identifier for the vendor
description
stringOptional
Description of the purchase order
number
stringOptional
The number of the purchase order
total_amount_in_cents
doubleOptional
The amount of the purchase order, in cents
order_date
unionOptional
The order date for the purchase order
expense_type
stringOptional
The expense type of the purchase order. You'll have to request this data from your customer
display_type
stringOptional
The display type of the purchase order. You'll have to request this data from your customer
shipping_address_1
stringOptional
The first address line associated with the shipping address for the purchase order
shipping_address_2
stringOptional
The second address line associated with the shipping address for the purchase order
shipping_city
stringOptional
The city associated with the shipping address for the purchase order
shipping_state
unionOptional
The state associated with the shipping address for the purchase order
shipping_zip
stringOptional
The zip code associated with the shipping address for the purchase order
shipping_country
stringOptional
The country associated with the shipping address for the purchase order
billing_address_1
stringOptional
The first address line associated with the billing address for the purchase order
billing_address_2
stringOptional
The second address line associated with the billing address for the purchase order
billing_city
stringOptional
The city associated with the billing address for the purchase order
billing_state
unionOptional
The state associated with the billing address for the purchase order
billing_zip
stringOptional
The zip code associated with the billing address for the purchase order
billing_country
stringOptional
The country associated with the billing address for the purchase order
purchase_order_items
list of objectsOptional
A list of the items associated with the purchase orders

Response

This endpoint returns an object
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
PUT
1curl -X PUT https://api.propexo.com/v1/purchase-orders/{purchase_order_id} \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "integration_id": "integration_id"
6}'
200
Updated
1{
2 "job_id": "job_id",
3 "data": {}
4}