Executes the Add action for the Pending Purchase Order Headers data object.

Adds in the header record along with its child items.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The code of the subscriber that you are making this request for.

Body Params
integer
required

Key for this object(POCo, PO).

string
length ≤ 30

Key for this object(POCo, PO). Optional. If 0mitted, Vista defaults will be applied.

integer
required

Key to ap/vendors(VendorGroup, Vendor). VendorGroup value is defaulted based on the POCo value.

string | null

Optional. If omitted, null will be defaulted.

string | null
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Format: YYYY-MM-DD. If omitted, current date will be applied.

integer | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

integer | null

Optional. If omitted, null will be defaulted.

string | null

Optional. If omitted, null will be defaulted.

string | null
^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$

Format: YYYY-MM-DD. If omitted, current date will be applied.

string | null

Optional. If omitted, null will be defaulted.

string | null

Key to hq/hold_codes(HoldCode). Optional. If omitted, Vista defaults will be applied.

string | null

Key to hq/payment_terms(PayTerms). Optional. If omitted, Vista defaults will be applied.

string | null

Key to hq/compliance_groups(CompGroup). Optional. If omitted, null will be defaulted.

string | null

Key as found in PO Shipping Locations application.

__ShipAddress
object

Optional. If omitted, each property will be defaulted as noted on the property.

string | null

Shipping Instructions. Optional. If omitted, null will be defaulted.

integer | null

Override Vendor's standard Payment Address. Key to AdditionalAddresses array in ap/vendors(VendorGroup, Vendor, AdditionalAddresses.Seq). VendorGroup value is defaulted based on the POCo value. Optional. If omitted, null will be defaulted.

integer | null

Override Vendor's standard Purchasing Address. Key to AdditionalAddresses array in ap/vendors(VendorGroup, Vendor, AdditionalAddresses.Seq). VendorGroup value is defaulted based on the POCo value. Optional. If omitted, null will be defaulted.

string | null
string
enum

Optional. If omitted, N will be defaulted.

Allowed:
__custom_fields
object

Add properties to this object with the property name matching the user defined field name in Vista for each user defined field you need to set.

__itemDetails
array
__itemDetails
Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json