Add a new PurchaseOrder

Add a new PurchaseOrder

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

PurchaseOrder object that needs to be added.

string
length ≤ 255

File attachment attached to the purchase order

string
length ≤ 255

Human readable text related to this purchase order

string
length ≤ 255

Contact email for this purchase order

string
length ≤ 255

Contact fax for this purchase order

string
length ≤ 255

Contact name for this purchase order

string
length ≤ 255

Contact phone number for this purchase order

string
length ≤ 255

Contact name for authorization for the purchase order

integer
0 to 28

This is an optional field. This field is used in forecasting feature. Minimum coverage period is 1 day and maximum coverage period is 28 days or 4 weeks.

integer
enum

Coverage Period type:

  • 1 - Day
  • 7 - Week
Allowed:
date-time

ISO 8601 Date and time timestamp when PurchaseOrder object was created

uri
required

URI of an Establishment API object which is related to the PurchaseOrder

date-time

ISO 8601 Date and time timestamp of PurchaseOrder expected delivery date

boolean
Defaults to false

Boolean value that indicates if a purchase order has been finalized.

uri

URI of an User API object that finalizes the PurchaseOrder

date-time

ISO 8601 Date and time timestamp of when a PurchaseOrder object is finalized

integer
enum

FOB Type:

  • 1 - CFPayFreighttoDestination
  • 2 - FOBDestination
  • 3 - FOBShippingPoint
  • 4 - PayInsuranceandFreighttoDestination
Allowed:
boolean
Defaults to false

Boolean value that indicates if a purchase order has been deleted.

boolean
Defaults to false

Boolean value that indicates if a purchase order has been sent.

string
required

Miscellaneous amount of fees attached to the purchase order.

orderitems
array of objects

List of related ProductPurchaseOrderItem API rendered objects

orderitems
date-time

ISO 8601 Date and time timestamp when an overriden PurchaseOrder object was created

date-time

ISO 8601 Date and time timestamp when PurchaseOrder object was sent

string
length ≤ 255

Address 1 where the purchase order will be shipped to.

string
length ≤ 255

Address 2 where the purchase order will be shipped to.

string
required

Shipping and handling price of the purchase order.

string
length ≤ 255

City where the purchase order will be shipped to.

string
length ≤ 255

Contact person name for the purchase order.

string
length ≤ 255
Defaults to USA

Country where the purchase order will be shipped to.

string
length ≤ 255

Contact person email for the purchase order.

string
required
length ≤ 255

Company/ Workplace name for the purchase order.

string
length ≤ 255

Contact phone number for the purchase order

string
length ≤ 255

State where the purchase order will be shipped to.

string
length ≤ 255

Text field where shipping terms are acknowledged.

string
length ≤ 255

Zip code where the purchase order will be shipped to.

string
required

Value of the tax applied to the purchase order

string
required

Final price of a single purchase order

date-time

ISO 8601 Date and time timestamp when PurchaseOrder object was updated

string
length ≤ 255

Account number of the vendor ordering the purchase order.

string
length ≤ 255

Address 1 of the vendor ordering the purchase order.

string
length ≤ 255

Address 2 of the vendor ordering the purchase order.

string
length ≤ 255

City of the vendor ordering the purchase order.

string
length ≤ 255

Contact person name of the vendor ordering the purchase order.

string
length ≤ 255
Defaults to USA

Country of the vendor ordering the purchase order.

string
length ≤ 255

Email of the vendor ordering the purchase order.

string
length ≤ 255

Fax number of the vendor ordering the purchase order.

string
required
length ≤ 255

Name of the vendor ordering the purchase order.

string
length ≤ 255

Phone number of the vendor ordering the purchase order.

string
length ≤ 255

State of the vendor ordering the purchase order.

string
length ≤ 255

VAT ID of the vendor ordering the purchase order.

string
length ≤ 255

Zip code of the vendor ordering the purchase order.

Responses

400

Bad request. Usually caused by invalid request body.

401

Authentication error - make sure the API key & secret is valid, active and provided in the "API-AUTHENTICATION" header.

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